Skip to content

craigmac/vimfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vim setup

Runtime path explained

https://learnvimscriptthehardway.stevelosh.com/chapters/42.html

Replicating the whole setup on new machine

git clone --recursive [email protected]:craigmac/vimfiles ~/.vim

Adding package

git submodule add <url>

Update single package or all packages

cd ~/.vim/pack/third-part/opt/vim-foo
git pull origin master
git submodule foreach git pull origin master

Removing package

cd ~/.vim
git submodule deinit pack/third-party/opt/vim-foo
git rm -rf pack/third-party/opt/vim-foo
rm -r .git/modules/pack/opt/vim-foo