反省はしても後悔はしない

Vim とか備忘録とか。それと関数型言語勉強中

Vim のプラグインを Vundle でインストールして Git で管理しようとしたらハマった

vimrc に

Bundle 'rails.vim'

を記述して

:BundleInstall

みたいな感じで rails.vim を ~/.vim/bundle/vundle にインストールしたあと、.vim ディレクトリで

$ git add .

しても、

#	new file:   bundle/rails.vim
#
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#   (commit or discard the untracked or modified content in submodules)
#
#	modified:   bundle/rails.vim (untracked content)

みたいな感じで untracked content と言われる。

解決方法

調べたけどよくわからなかった。
とりあえず、.gitignore に bundle/* を追加して解決した。