- ag.vim - for the silver searcher
- 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
- emmet-vim - for high-speed HTML, XML, XSL, etc coding and editing
- endwise - wisely add "end" in ruby, endfunction/endif/more in vim script, etc
- fugitive - Git wrapper
- haskell.vim - Syntax highlight for haskell
- 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
- neosnippet - adds snippet support to Vim
- nerd commenter - for intensely orgasmic commenting
- nerd tree - tree explorer plugin for navigating the filesystem
- powerline - create better-looking, more functional vim statuslines
- 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
- vim-css3-syntax - Add CSS3 syntax support to vim
- vim-coffee-script - CoffeeScript support for vim
- vim-easymotion - provides a much simpler way to use some motions in vim
- vim-golang - Vim plugins for Go
- vim-javascript - Vastly improved vim's javascript indentation
- vim-slim - slim syntax highlighting for vim
- vim-snippets - vim-snipmate default snippets
- vim-haml - vim runtime files for Haml, Sass, and SCSS
ag
- required byag.vim
ctags
- required bytagbar
For ArchLinux.
sudo yaourt -S ag ctags
For MacOS:
brew install ag ctags
Note that package names and install tools may differ in other environments.
Backup your own vim files.
mv .vim .vim.bak
mv .vimrc .vimrc.bak
Clone this repository.
git clone https://github.com/qiao/vimfiles.git .vim
Create link for .vimrc
.
ln -s .vim/vimrc .vimrc
Install the plugins (This step may take some time. Go have yourself a cup of tea).
.vim/install.sh
F4
-> Toggle indentation guidesF5
-> Toggle Nerd-Tree file viewerF6
-> Toggle tagbarCtrl
+j
-> Call zen-coding expansion on html tagsAlt
+1~9
-> Switch between multiple buffers
-
The
Alt
+1~9
combination does not work in iTerm.iTerm Preference --> Profiles --> Keys --> set
Left option key acts as
toMeta