- A Vim/MacVim/gVim with version higher than 7.3 has been installed on your computer, and back up your origin vim stuff;
- Install Vundle to install and update plugins,
git clone git://github.com/gmarik/vundle.git $HOME/.vim/bundle/vundle
; - Install hybrid theme,
git clone git://github.com/w0ng/vim-hybrid.git $HOME/.vim/bundle/vim-hybrid
; - Get ivim from github website,
git clone git://github.com/kepbod/ivim.git $HOME/ivim
; - Make symbolic links of vimrc to your home directory,
ln -s $HOME/ivim/vimrc $HOME/.vimrc
; - Install plugins,
vim +BundleInstall! +BundleClean! +qa!
; - Just enjoy it!
via 'curl'
curl -L https://raw.github.com/kepbod/ivim/master/tools/bootstrap.sh | bash
via 'wget'
wget --no-check-certificate https://raw.github.com/kepbod/ivim/master/tools/bootstrap.sh -O - | bash
bash $HOME/ivim/tools/update.sh
Vim
- This distribution is adapted to both Vim and MacVim/gVim. Remember that the Vim/MacVim/gVim version should be 7.3+, or errors would occur!
Git
- All the installations are based on Git which is a famous distributed revision control system. If you use Windows, you may need install msysgit.
Ctags
- Ctags generates an index (or tag) file of language objects found in source files that allows these items to be quickly and easily located by a text editor or other utility. I recommend you to use Exuberant Ctags.
To use this distribution with less bugs, please get more suggestions from here
Beautiful Colorscheme
-
Use lots of famous colorschemes to make your eyes feel comfortable in both Vim and MacVim/gVim.
- Hybrid(default)
- Tomorrow-Night
- Solarized
- Jellybeans
Efficient
- Make using Vim more convenient and faster, and lots of useful plugins (such as Neocomplcache, NERD_commenter, Syntastic and SingleCompile) confirm a better performance of Vim.
This distribution is completely customisable using a ~/.vimrc.local
, ~/.gvimrc.local
and ~/.vimrc.bundles.local
!
- Vundle - Manage the Vim scripts
- Tagbar - Browse the tags of source code files
- NERD_tree - Explore filesystem and to open files and directories
- NERD_commenter - Provide many different commenting operations and styles
- Neocomplcache - Performs keyword completion by maintaining a cache of keywords
- snipMate - Implement some of TextMate's snippets features in Vim
- surround - Provide mappings to delete, change and add surroundings in pairs
- delimitMate - Provides automatic closing of quotes, parenthesis, brackets, etc.
- Ctrlp - Full path fuzzy file, buffer, mru and tag finder with an intuitive interface
- Ack - A replacement for 'grep' using Perl module App::Ack
- Tabular - Line up text easily
- Syntastic - Syntax check that runs files through external syntax checkers
- EasyMotion - Provide a much simpler way to use some motions in Vim
- Indent Guides - Visually display indent levels in Vim
- fugitive - Git wrapper
- Gundo - Visualize Vim undo tree
- EasyTags - Automated tag generation and syntax highlighting in Vim
- Powerline - Create better-looking, more functional Vim statuslines
- SingleCompile - Compile or run a single source file without leaving Vim
- CamelCaseMotion - Refine words motion in Vim
- Zencoding - High-speed HTML, XML, XSL coding and editing
- Golden Ratio - Resize windows automatically using the Golden Ratio
- Splitjoin - Switch between a single-line statement and a multi-line one
- Unite - Search and display information from arbitrary sources
- rails.vim - Plugin for working with Ruby on Rails applications
- Indent Object - Text objects based on indent levels
- NrrwRgn - Focus on a region and making the rest inaccessible
- unimpaired.vim - Complementary pairs of mappings
- abolish.vim - Search for, substitute, and abbreviate multiple variants of a word
- vimux - Easily interact with tmux from vim
- markdown-preview - Select Markdown text, render to HTML and preview in browser
- unite-outline - Provide your Vim's buffer with the outline view
- swap-parameters - Swap parameters
- autolink.vim - Find and insert URLs for links in Markdown and ReST documents
- textobj-word-column.txt - Make operating on columns of code conceptually simpler and reduces keystrokes
Each plugin has its unique requirements and configurations, so if you have any questions with them, please check help files of them first!
Learning Vim
-
A good learning method of Vim is vimtutor, a 30 minute tutorial that teaches the most basic Vim functionality hands-on.
To try it, just type
vimtutor
on terminal. -
Another way to get familiar with Vim commands and settings is just rely on the strong help system of Vim.
It's easy and convenient to type
:h
or:help
in Vim for help of whatever you want to know. -
A beautiful Vim cheat sheet is available here. If you want one, just click it!
Key Mappings
-
Because I have set some key mappings for more convenient typing and checking, you may feel inconvenient with them at start. But if you get familiar with them, I'm sure you will love them.
You can just type
:map
in Vim to see them.
More Tips
- Vim_Tips_Wiki is an excellent website, and you can learn much from it.
- Vimcasts publishes free screencasts about Vim. It's useful and interesting! Believe me!
Hope You Enjoy Vimming
This distribution refers to many other famous Vim configurations (mainly contain spf13-vim, Champions' Configuration and Steve's Configuration), so there may be some unavoidable errors in it, but I have tried my best to make it work well. If you have any questions, please feel free to contact me! Thanks!