pathogen.vimで、vimプラグインを整理
2011年5月22日少し乗り遅れましたが、流行のpathogen.vimをインストール。
プラグインの管理が、gitと合せることで便利になる・・とか。
- git初期化
$ cd ~/.vim $ git init
- pathogen.vimのインストール
$ git submodule add git://github.com/tpope/vim-pathogen.git bundle/vim-pathogen $ ln -s bundle/vim-pathogen/autoload/pathogen.vim autoload/
- その他のプラグイン(git管理)
$ git submodule add git://github.com/thinca/vim-quickrun.git bundle/vim-quickrun $ git submodule add git://github.com/thinca/vim-ref.git bundle/vim-ref $ git submodule add git://github.com/Shougo/neocomplcache.git bundle/vim-neocomplcache $ git submodule add git://github.com/soh335/vim-symfony.git bundle/vim-symfony $ git submodule add git://github.com/hrp/EnhancedCommentify.git bundle/vim-enhancedcommentify $ git submodule add git://github.com/vim-scripts/yanktmp.vim.git bundle/vim-yanktmp $ git submodule add git://github.com/vim-scripts/svn-diff.vim.git bundle/vim-svndiff $git submodule add git://github.com/plasticboy/vim-markdown.git bundle/vim-markdown $git submodule add git://github.com/thinca/vim-quickrun.git bundle/vim-quickrun
- その他のプラグイン(git管理外)
- その他のgit管理されていないプラグインもディレクトリを作って管理
$ mkdir bundle/vim-<<module>>/<<plugin|doc|...etc>>