Skip to content

pylight/vimrc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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%