Skip to content

zhibo/vimfiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My vim files forked from qiao

Bundled Plugins

  • ack.vim - for the Perl module / CLI script 'ack'
  • bufexplorer - Buffer Explorer / Browser
  • c.vim - C/C++ IDE -- Write and run programs. Insert statements, idioms, comments etc
  • closetag - Functions and mappings to close open HTML/XML tags
  • ctrlp - Fuzzy file, buffer, mru and tag finder
  • delimitMate - provides insert mode auto-completion for quotes, parens, brackets, etc
  • endwise - wisely add "end" in ruby, endfunction/endif/more in vim script, etc
  • fugitive - Git wrapper
  • gundo - Revision history, view diff's of every save on a file you've made and allow quickly revert back and forth
  • html5.vim - HTML5 omnicomplete and syntax
  • indent guides - visually displaying indent levels in code
  • jquery.vim - Syntax file for jQuery
  • matchit - extended % matching for HTML, LaTeX, and many other languages
  • neocomplcache - Ultimate auto-completion system
  • nerd commenter - for intensely orgasmic commenting
  • nerd tree - tree explorer plugin for navigating the filesystem
  • pep8 - a plugin that validate your Python code
  • powerline - create better-looking, more functional vim statuslines
  • pydoc - Python documentation preview
  • pyflakes-pathogen - notify you about unused imports and invalid syntax of your Python code
  • rainbow parenthesis - highlights matching parenthesis with a rainbow of colors
  • rails.vim - Ruby on Rails power tools
  • supertab - Perform all your vim insert mode completions with Tab
  • surround - quoting/parenthesizing made simple
  • syntastic - Syntax checking hacks for vim
  • tabbar - add tab bar (derived from miniBufExplorer)
  • tabular - for text filtering and alignment
  • tagbar - displays tags in a window, ordered by class etc
  • tasklist - mark some of your code as TODO or FIXME
  • vim-coffee-script - CoffeeScript support for vim
  • vim-jade - Jade template engine syntax highlighting and indention
  • vim-javascript - Vastly improved vim's javascript indentation
  • vim-stylus - Syntax highlighting for Stylus
  • emmet - for high-speed HTML, XML, XSL, etc coding and editing

Themes

Dependencies

  • ack-grep - required by ack.vim
  • ctags - required by tagbar

The following command is for Gentoo Linux. Package names and install tools may differ in other distributions.

sudo emerge -av dev-lang/ruby sys-apps/ack dev-util/ctags

Installation

Backup your own vim files.

mv .vim .vim.bak
mv .vimrc .vimrc.bak

Clone this repository.

git clone git://github.com/zhibo/vimfiles.git
mv vimfiles .vim

Create link for .vimrc.

ln -s .vim/vimrc .vimrc

Update the submodules (This step may take some time. Go have yourself a cup of tea).

cd .vim
git submodule init && git submodule update

Key Bindings

  • F3 -> Toggle highlighting
  • F4 -> Toggle indentation guides
  • F5 -> Toggle Nerd-Tree file viewer
  • F6 -> Toggle tagbar
  • Ctrl + j -> Call zen-coding expansion on html tags
  • Alt + 1~9 -> Switch between multiple buffers
  • <leader>td -> TaskList
  • <leader>g -> Toggle Gundo revision history

About

My vim plugins and configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 90.2%
  • TeX 5.5%
  • Makefile 2.4%
  • C 1.2%
  • Shell 0.4%
  • C++ 0.2%
  • Prolog 0.1%