Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Vim files by Lucas Caton

tree: c09a161470

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.textile

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
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

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

Ack.vim

Perl module App::Ack. Ack can be used as a replacement for 99% of the uses of grep.

CtrlP

Full path fuzzy file, buffer, mru and tag finder.

Extradite

A git commit browser. Extends fugitive.vim.

Fugitive

A git wrapper so awesome, it should be illegal.

Gist-vim

For creating gists.

Nerdtree

A tree explorer plugin.

Snipmate

Aims to be a concise vim script that implements some of TextMate’s snippets features in Vim.

Sparkup (Zen-coding)

A parser for a condensed HTML format.

Syntastic

Syntax checking hacks.

Tabular

Text filtering and alignmentClone.

Tcomment

An extensible & universal comment vim-plugin that also handles embedded filetypes.

Vim Easymotion

It provides a much simpler way to use some motions in vim.

Vim Endwise

Wisely add “end” in ruby, endfunction/endif/more in vim script, etc.

Vim Matchit

Extended % matching for HTML, LaTeX, and many other languages.

PowerLine

The ultimate vim statusline utility.

Vim-rails

Ruby on Rails power tools.

Vim Ruby Runner

Execute Ruby into an output buffer, similar to ⌘R in TextMate.

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

Something went wrong with that request. Please try again.