Vim#10にてneobundleが紹介されていた。
私はpathogenで満足していたので、特に必要性を感じなかったし、なんだかややこしそうだったので敬遠していたが、どうやらGitHubと連携できるようなので、これを機会に試してみることにした。
今までのインストール/アップデート方法はvimshellからgit clone/git pullを使うことだったが、これがどの程度簡略化するのか、少し期待している。
当日PCを持っていかなかったので、自宅で今から試すのだ。よっこらせ。
ヘルプドキュメントが英語だけだ!
英語の読めない私はVimテクニックバイブルの1-14のVundleの使い方を参考にインストールすることにする。
cd $VIM/vimfiles/neobundle git clone https://github.com/Shougo/neobundle.vim.git
さらにググって出てきたページも参考にさせて頂く。
neobundleはpathongenの上位互換なのか?
半信半疑ながらpathogen用の設定をコメントアウトしてneobundleのドキュメントのEXAMPLESに書かれていた設定を貼り付ける。
今までpathogenのbundle下にあったプラグインを軒並みneobundle管理に引っ越しした。*1
filetype off if has('vim_starting') set runtimepath+=$VIM/vimfiles/neobundle/neobundle.vim call neobundle#rc(expand('$VIM/vimfiles/neobundle')) endif NeoBundle 'Shougo/vimproc' NeoBundle 'Shougo/neobundle.vim' NeoBundle 'Shougo/neocomplcache' NeoBundle 'Shougo/unite.vim' NeoBundle 'Shougo/vimshell' NeoBundle 'Shougo/vimfiler' NeoBundle 'Shougo/echodoc' NeoBundle 'thinca/vim-ref' NeoBundle 'thinca/vim-ambicmd' NeoBundle 'thinca/vim-quickrun' NeoBundle 'anyakichi/vim-surround' NeoBundle 'h1mesuke/unite-outline' NeoBundle 'kana/vim-textobj-user' NeoBundle 'kana/vim-textobj-indent' NeoBundle 'kana/vim-smartword' NeoBundle 'kana/vim-smartchr' NeoBundle 'ujihisa/vital.vim' NeoBundle 'tsukkee/lingr-vim' NeoBundle 'tpope/vim-fugitive' NeoBundle 'tpope/vim-pathogen' NeoBundle 'bkad/CamelCaseMotion' NeoBundle 'https://github.com/tyru/open-browser.vim.git' NeoBundle 'https://github.com/thinca/vim-tabrecent.git' NeoBundle 'https://github.com/mrtazz/simplenote.vim.git' "オンラインノートsimplenoteを使う NeoBundle 'https://github.com/tacroe/unite-mark.git' "マーク一覧を表示 NeoBundle 'https://github.com/tpope/vim-speeddating.git' NeoBundle 'https://github.com/ujihisa/mdv.git' "VimHacksで使われている拡張Markdown NeoBundle 'https://github.com/ujihisa/neco-look.git' NeoBundle 'https://github.com/mattn/wwwrenderer-vim.git' NeoBundle 'https://github.com/mattn/webapi-vim.git' NeoBundle 'https://github.com/t9md/vim-textmanip.git' "テキストを直感的に移動複製 filetype plugin indent on "ファイル判定をonにする
そして、
:NeoBundleInstall!
すると記載した全てのプラグインについてインストール&アップデートを行なってくれる。
!を付けないとアップデートは行わない。