6月 222009
 

Vim Tips & Plugins などまとめ。

Windows & gvim tips

・クリップボード
    Ctrl-insert コピー
    Ctrl-delete カット
    Shift-insert ペースト
 
・vim 上のタブとして開く
    レジストリを弄る。
    /HKEY_CLASSES_ROOT/Applications/gvim.exe/shell/edit/command
    "インストール先のパス\gvim.exe" -p --remote-tab-silent "%1"
 
・Diffエラー
    http://nanasi.jp/articles/howto/diff/vimdiff_in_windows.html
 
・ファイル選択ダイアログからファイル選択
    :bro e
    :bro tabe
 
・開いてるファイルのディレクトリ
    C-x

vim tips

・文字コード変換
    :e ++enc=utf-8
    :set fenc=utf-8
    :set fenc=sjs
 
・折り畳み
    ビジュアルモードでくくって zf
    折り畳む&開く za

vim プラグインリスト

・project
    http://www.vim.org/scripts/script.php?script_id=69
 
・FavEx
    http://nanasi.jp/articles/vim/favex_vim.html
 
・The NERD tree
    http://www.vim.org/scripts/script.php?script_id=1658
 
・The NERD Commenter
    http://www.vim.org/scripts/script.php?script_id=1218
 
・bufexplorer
    http://www.vim.org/scripts/script.php?script_id=42
 
・mru
    http://www.vim.org/scripts/script.php?script_id=521
 
・eregex
    http://www.vector.co.jp/soft/unix/writing/se265654.html
 
・grep
    http://www.vim.org/scripts/script.php?script_id=311
 
・taglist
    http://www.vim.org/scripts/script.php?script_id=273
 
・neocomplcache
    http://github.com/Shougo/neocomplcache/tree/master
 
・CD
    http://nanasi.jp/articles/vim/cd_vim.html
 
・commentout
    http://nanasi.jp/articles/vim/commentout_source.html

関連エントリー:

neocomplcache.vim 弄り

SystemStarter + XAMPP + Mac

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <img localsrc="" alt=""> <pre lang="" line="" escaped="" highlight="">