This repository contains my Vim configuration, used on both Lubuntu and Windows.
ln -s ~/Documents/my_vim_config ~/.vim
ln -s ~/Documents/my_vim_config/vimrc ~/.vimrccd C:\Users\my_name
mklink /D vimfiles C:\Users\my_name\Documents\GitHub\my_vim_config
mklink _vimrc C:\Users\my_name\Documents\GitHub\my_vim_config\vimrc
Each of these are saved as submodules in the bundle folder.
All plugins are loaded with Pathogen.
Used Airline for a while, but
could never get the patched fonts to work.
Removed when I realised I did not check it enough to justify having it.
Ctrl + G works fine.
Replaced Ctrlp with Unite.
Update all submodules with:
git submodule foreach git pull origin masterThen git add bundle/*, git commit and git push.
GitHub for Windows does not currently like doing this.
On other machines update submodules after pulling changes:
git submodule updateFrom: How do I remove a Git submodule?
git submodule deinit bundle/my_submodule
git rm bundle/my_submodule
git commit -m "Remove my_submodule"
rm -rf .git/modules/bundle/my_submodulePlace plugins in ~/.vim/plugin/ or $HOME/vimfiles/plugin.
File type plugins are in ~/.vim/plugin/ftplugin.
name can be anything.
-
ftplugin/.vim
-
ftplugin/_.vim
-
ftplugin//.vim