pylight's vimrc
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 18 commits ahead, 35 commits behind vgod:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
autoload
colors
.gitignore
.gitmodules
README.md
install-vimrc.sh
vimrc

README.md

pylight's vimrc

INSTALL

  1. Check out from github

     git clone git://github.com/pylight/vimrc.git ~/.vim
     cd ~/.vim
     git submodule update --init
    
  2. 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.)

Other good references