pathogenでvimプラグインを追加したり、削除したり
pathogenでプラグインを追加、削除するコマンドをよく忘れるので、メモ
削除するときは、ホームディレクトリで以下を実行
git rm --cached .vim/bundle/[plugin名] git config --file .gitmodules --remove-section submodule.[plugin名] git config --remove-section submodule..vim/bundle/[plugin名]
具体例:
git rm --cached .vim/bundle/vim-flake8 git config --file .gitmodules --remove-section submodule..vim/bundle/vim-flake8 git config --remove-section submodule..vim/bundle/vim-flake8
プラグインを追加するときは
git submodule add [pluginのgithubURL] .vim/bundle/[plugin名]
具体例:
git submodule add https://github.com/nvie/vim-flake8.git .vim/bundle/vim-flake8
消えない時は、git config -lでどのように登録されているか確認してください。
ついでに最新にするときはgit submodule update
PyconJPで色々と話を聞いたので、vim pluginを出し入れしてました。