Installation and Requisites:
git clone git://github.com/SammyLin/vimrc.git ~/sammylin-vim
Execute the update.sh
to get latest version modules:
cd ~/sammylin-vim
./update.sh
Make a symbolic link .vim
to sammylin-vim
that you just cloned, or just rename it to .vim
also be fine:
cd ~
ln -s sammylin-vim .vim
Link the vimrc to
ln -s .vim/vimrc .vimrc
- pathogen.vim: Manages the runtime path of the plugins
- NERD Tree: A tree explorer plugin for vim
- vim-airline: The ultimate vim statusline utility
- vim-fugitive: a Git wrapper so awesome, it should be illegal
- snipMate.vim: snipMate.vim aims to be a concise vim script that implements some of TextMate's snippets features in Vim
- tlib_vim: Some utility functions for VIM
- vim-addon-mw-utils: interpret a file by function and cache file automatically
- vim-snippets: vim-snipmate default snippets (Previsouly snipmate-snippets)
- supertab: Perform all your vim insert mode completions with Tab
- ctrlp.vim: Fuzzy file, buffer, mru and tag finder. In my config it's mapped to
<Ctrl+F>
, because<Ctrl+P>
is used by YankRing - vim-rails: Ruby on Rails power tools
- mru.vim: Plugin to manage Most Recently Used (MRU) files
- tComment: An extensible & universal comment plugin that also handles embedded filetypes
- vim-indent-object: Vim plugin that defines a new text object representing lines of code at the same indent level. Useful for python/vim scripts, etc.
- vim-gitgutter: A Vim plugin which shows a git diff in the gutter (sign column).
- ZenCoding: zen-coding for vim: http://code.google.com/p/zen-coding/
- vim-smartinput: Vim plugin: Provide smart input assistant
- vim-ruby: Vim/Ruby Configuration Files
- matchit.zip: extended % matching for HTML, LaTeX, and many other languages
- vim-markdown: Markdown Vim Mode
- vim-coffee-script: CoffeeScript support for vim
- scss-syntax.vim: Vim syntax file for scss (Sassy CSS)
- vim-octopress: Octopress support for Vim
map <Leader>n <plug>NERDTreeTabsToggle<CR>
map <Leader>r :NERDTreeFind<CR>
map <Leader>f :MRU<CR>
map <Leader>b :CtrlPBuffer<CR>
<space>n
Control + p
or
<space>o
<F6>
<space>f
<space>b
Control + h
Control + l
Control + z
# will suspend the process and get back to your shell
$ fg
Control + _
<!-- /<word> -->
or
?<word>
# Pressing the n key, will allow you to go directly to the next occurrence of the word.
FF
# :call RunCurrentSpecFile
<space>t
# :call RunNearestSpec
<space>s
# :call RunLastSpec
<space>l
# :call RunAllSpecs
<space>a