I’m creating a new .dotfiles repo and cleaning up things as I go. I just added .vimrc and .vim/ and things look “OK” except that some of the bundles weren’t added and I have been unable to add them despite many attempts.
Here’s what git status --untracked-files=normal
displays:
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/Align (modified content)
modified: bundle/Decho (untracked content)
modified: bundle/ZoomWin (untracked content)
modified: bundle/conque-term (untracked content)
modified: bundle/elm.vim (modified content)
modified: bundle/greplace.vim (untracked content)
modified: bundle/taglist.vim (untracked content)
modified: bundle/vim-cucumber (untracked content)
modified: bundle/vim-fakeclip (untracked content)
modified: bundle/vim-textobj-entire (untracked content)
modified: bundle/vim-textobj-indent (untracked content)
modified: bundle/vim-textobj-line (untracked content)
modified: bundle/vim-textobj-user (untracked content)
I did a :PluginUpdate
to make sure everything was up to date, but no flavor of “git add” that I’ve tried works, including git add . --force
, so obviously I’m missing something.
Suggestions? thanks!
UPDATE: Checked Chris Toomey’s awesome dotfiles (GitHub - christoomey/dotfiles: My vim, zsh, git, tmux, and other config files and utility scripts.) and got my answer: do not include .vim/bundle files in the repo. Thanks, Chris!