Skip to content

pylight/vimrc

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 18 commits ahead, 35 commits behind vgod:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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

About

pylight's vimrc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 93.5%
  • Python 2.8%
  • CSS 1.2%
  • TeX 1.2%
  • XSLT 0.8%
  • Perl 0.5%