doc/{plugin}.txt
:helpで読める)plugin/{plugin}.vim
:set runtimepath?で表示される最初のディレクトリdoc/{plugin}.txt
--> ~/.vim/doc/{plugin}.txt
plugin/{plugin}.vim
--> ~/.vim/plugin/{plugin}.vim
:helptags ~/.vim/doc
:helpでプラグインのドキュメントを読むために必要~/.vimは適宜読み替えること):editや:writeなどのこと:eや:wの方が馴染み深い?)http://www.vim.org/scripts/script.php?script_id=2097
プラグイン独自のExコマンドが提供される
:{range}Narrow
:Widen
:Narrowの解除http://www.vim.org/scripts/script.php?script_id=1697
プラグイン独自のkey mappingsが提供される
カスタマイズなど
nmap s <Plug>Ysurround
http://www.vim.org/scripts/script.php?script_id=2290
プラグイン独自の関数が提供される
smartchr#one_of(...)
inoremap <expr> =
\ smartchr#one_of(' = ',
\ ' == ',
\ '=')
= 」、「 == 」、「=」が順々に入力されるhttp://www.vim.org/scripts/script.php?script_id=1075 (標準添付)
何もしなくても自動的に有効になっている
:edit http://www.vim.org/
:write scp://host/path/file
:help plugin-nameで読める:helpで読めないプラグインは爆発しろ