Skip to content

ralfthewise/vimconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vimconfig

Vim plugins and .vimrc

After cloning the repository, run the "init.sh" script to install.

Keyboard Shortcuts

F4Project explorer
F5Show classes, methods, variables of current file
Ctrl-hList open buffers and switch between them
Ctrl-nFind class
Ctrl-mFind file
F12Re-index project files

Notes

To add a new plugin, do:

git submodule add https://github.com/scrooloose/nerdcommenter.git submodules/nerdcommenter
cd bundle
ln -s ../submodules/nerdcommenter
cd ..
./init.sh
git add bundle/nerdcommenter
git commit -m 'add nerdcommenter submodule'
git push

To update plugins do:

./update.sh
git add -A submodules
git commit -m 'update plugins'
git push

Updating plugin documentation:

open vim and do :Helptags

Removing a plugin (http://stackoverflow.com/a/1260982):

Delete the relevant section from the .gitmodules file.
Stage the .gitmodules changes: git add .gitmodules
Delete the relevant section from .git/config.
Run git rm --cached path_to_submodule (no trailing slash).
Run git rm bundle/<symbolic link to submodule>
Run rm -rf .git/modules/path_to_submodule
Commit: git commit -m "Removed submodule <name>"
Delete the now untracked submodule files: rm -rf path_to_submodule

About

Vim plugins and .vimrc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published