Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Installation:
git clone git://github.com/orenshk/dotvim.git ~/.vim
Create symlinks:
ln -s ~/.vim/vimrc ~/.vimrc
ln -s ~/.vim/gvimrc ~/.gvimrc
Update plugins:
git submodule init
git submodule update
Adding a module and updating:
git submodule add <module-url> bundle/<module-name>
git add .
git commit -m "<Comment>"
git push
Upgrading plugins:
one plugin:
cd ~/.vim/bundle/<plugin-dir>
git pull origin master
all plugins:
git submodule foreach git pull origin master
Deleting a submodule
1. Delete the relevant section from the .gitmodules file.
2. Delete the relevant section from .git/config.
3. Run git rm --cached path_to_submodule (no trailing slash).
4. Commit and delete the now untracked submodule files.