brunoandradd / vimfiles

Vim files by Lucas Catón

Home Page:http://blog.lucascaton.com.br

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vim

It is recommended that you use gVim in either Windows or Linux and MacVim for Mac. Download from:

Usage

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

Then ‘cd’ into the repo and run this to get the snippets submodule:

git submodule init
git submodule update

Now just copy (or symlink) the .vim/vimrc file as .vimrc (Mac/Linux) or copy as _vimrc (Windows) in your home directory. In Mac 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

About MacVim

If you are using MacVim, open the preferences (cmd+,) and in the Advanced tab, check the “Use experimental renderer” option.

Help Tags

At first usage of vim, type “:” while in command mode and execute:

call pathogen#helptags()

This will make the plugins documentations available upon :help

Fonts

Monaco is for Mac, Consolas is for Windows. Under Linux better try “Bitstream Vera Sans Mono”.

Plugins

Snipmate

Vim-rails

Tcomment

Extradite

Fugitive

Gist-vim

Nerdtree

Vim Endwise

Easy Grep

CtrlP

Vim Matchit

Syntastic

Sparkup (Zen-coding)

Easymotion

Learn Vim

Visit the following sites to learn more about Vim:

There are many sites teaching Vim, if you know of any other that are easy to follow for newcomers, let me know.

References

Credits

Lucas Caton.

Licence

Copyright © 2011 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.

About

Vim files by Lucas Catón

http://blog.lucascaton.com.br


Languages

Language:Python 50.5%Language:Vim Script 48.2%Language:Ruby 1.3%