From eb85945410ae15e37dc7ac11352b6f052149e0bc Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Fri, 16 Mar 2018 09:07:38 +0000 Subject: Updated readme with some notes --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index dfb7771..eb18bd4 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,31 @@ # My ~/.vim +## Using it in a new location + + cd ~ && git clone --recursive https://github.com/reidrac/dotvim.git + +If you're not using vim 8; create a `.vimrc` with: + + runtime vimrc + +## Adding plugins + + git submodule add https://github.com/user/foo.git bundle/foo + git commit -m "Added foo plugin" + +## Updating plugins + + git submodule foreach git pull origin master + git commit -am "Updated plugins" + +### Updating you .vim on a different machine + + git pull + git submodule update --remote + +## Removing plugins + + git submodule deinit bundle/foo + git rm -r bundle/foo + rm -r .git/modules/bundle/foo -- cgit v1.2.3