pylight's vimrc
- Author: Sven K.
- Description: Yes! This is a vim configuration! =)
- Github: https://github.com/pylight/vimrc
- Forked from vgod. (awesome work, ty!)
INSTALL
-
Check out from github
git clone git://github.com/pylight/vimrc.git ~/.vim cd ~/.vim git submodule update --init
-
Install ~/.vimrc
./install-vimrc.sh
UPGRADE PLUGIN BUNDLES
All plugins (except vim-latex) were checked out as git submodules,
which can be upgraded with git pull
. For example, to upgrade Nerdtree
cd ~/.vim/bundle/nerdtree
git pull
To install a new plugin as a git submoudle, type the followin commands.
cd ~/.vim
git submodule add [GIT-REPOSITORY-URL] bundle/[PLUGIN-NAME]
HOW TO USE
see the "USEFUL SHORTCUTS" section in vimrc to learn my shortcuts.
PLUGINS
-
Pathogen: easy plugin detection in ~/.vim/bludle/ dir.
-
Nerd Tree: better tree explorer plugin.
Useful commands:
:Bookmark [name]
- bookmark any directory as name:NERDTree [name]
- open the bookmark [name] in Nerd Tree
-
xmledit: XML/HTML tags will be completed automatically.
-
vim-latex: Latex support.
-
OmniCppComplete: C/C++ omni-completion with ctags database.
-
JavaComplete: Java Omni-completion.
-
EasyMotion: An easy way to jump to a word. (live search)
Useful commands:
,w
forward EasyMotion,b
backward EasyMotion
-
fugitive.vim: git wrapper for vim
Language specific supports
- Latex: Read
:help latex-suite.txt
- HTML, Javascript, Python, CSS, C, C++, Java: use
TAB
to do omni-completion. - HTML/XML: End tags are automatically completed after typing a begin tag. (Typing > twice pushes the end tag to a new line.)