It is recommended that you use gVim in either Windows or Linux and MacVim for Mac. Download from:
- (Windows) http://www.vim.org/download.php#pc (gvim72.exe)
- (Mac) http://code.google.com/p/macvim/downloads/list (snapshot-52)
Troubleshoot: Because of the large amount of submodules, if you ever have any trouble after pulling from the repository, it will be easier to just back up your old .vim folder and just git clone a new version.
Clone this repo into your home directory either as .vim (linux/mac) or vimfiles (Windows). Such as:
git clone git://github.com/lucascaton/vimfiles.git ~/.vim cd ~/.vim # And run this to get the snippets submodules: git submodule init git submodule update # Now, just copy (or create a symlink) the .vim/vimrc file as .vimrc (Mac OSX/Linux) or copy as _vimrc (Windows) in your home directory. In Mac OSX and Linux, the easiest thing to do is: ln -s ~/.vim/vimrc ~/.vimrc
If you already have a custom .vimrc file, append the following lines to load everything else along with your personal hacks:
source ~/.vim/vimrc "linux source ~/vimfiles/vimrc "windows
If you are using MacVim, open the preferences (cmd+,) and in the Advanced tab, check the “Use experimental renderer” option.
At first usage of vim, type “:” while in command mode and execute:call pathogen#helptags()
This will make the plugins documentations available upon :help
Monaco is for Mac, Consolas is for Windows. Under Linux better try “Bitstream Vera Sans Mono”.
Perl module App::Ack. Ack can be used as a replacement for 99% of the uses of grep.
Full path fuzzy file, buffer, mru and tag finder.
A git commit browser. Extends fugitive.vim.
A git wrapper so awesome, it should be illegal.
For creating gists.
A tree explorer plugin.
Aims to be a concise vim script that implements some of TextMate’s snippets features in Vim.
A parser for a condensed HTML format.
Syntax checking hacks.
Text filtering and alignmentClone.
An extensible & universal comment vim-plugin that also handles embedded filetypes.
It provides a much simpler way to use some motions in vim.
Wisely add “end” in ruby, endfunction/endif/more in vim script, etc.
Extended % matching for HTML, LaTeX, and many other languages.
The ultimate vim statusline utility.
Ruby on Rails power tools.
Vim Ruby Runner
Execute Ruby into an output buffer, similar to ⌘R in TextMate.
Visit the following sites to learn more about Vim:
- Vimcasts: http://vimcasts.org
- Screencast “17 dicas para o Vim” (portuguese): http://blog.lucascaton.com.br/?p=1081
There are many sites teaching Vim, if you know of any other that are easy to follow for newcomers, let me know.
- MacVim – http://code.google.com/p/macvim/
- gVim – http://www.vim.org/download.php#pc
- Using Vim as a Complete Ruby on Rails IDE – http://biodegradablegeek.com/2007/12/using-vim-as-a-complete-ruby-on-rails-ide/
- Why, oh WHY, do those #?@! nutheads use vi? – http://www.viemu.com/a-why-vi-vim.html
- Efficient Editing With vim – http://jmcpherson.org/editing.html
- Byte of Vim – http://www.swaroopch.com/notes/Vim
Copyright © 2012 Lucas Caton
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
%p The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
%p THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.