My Vimfiles

My Vimfiles

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

Project source: https://github.com/lucascaton/vimfiles

Comments are closed.