Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

50 lines (36 sloc) 1.109 kb

VIM

Josh Benham's personal VIM setup

Overview

Personal VIM setup that i use on an everyday basis. Includes git submodules of plugins that i use. i.e. CtrlP, Fugitive and Powerline.

Instructions

# remember to backup your old vim directory/settings
$ mv ~/.vim ~/.vim-bak
$ mv ~/.vimrc ~/.vimrc-bak

# grab the repo
$ git clone https://github.com/joshbenham/dotvim.git ~/.vim

# pull down the submodule files
$ cd ~/.vim
$ git submodule init
$ git submodule update

# symlink the pathogen vim file from the submodule to a level lower
$ ln -s ~/.vim/autoload/vim-pathogen/autoload/pathogen.vim ~/.vim/autoload/pathogen.vim

# symlink the rc file into your home directory
$ ln -s ~/.vim/vimrc ~/.vimrc

Remove (At your own risk!)

Make sure you have the ~/.vim-bak folder and the ~/.vimrc-bak file. If you do then you can continue.

# remove the ~/.vim folder
$ rm -rf ~/.vim

# remove the ~/.vimrc file
$ rm ~/.vimrc

# restore the old ~/.vim and ~/.vimrc
$ mv ~/.vim-bak ~/.vim
$ mv ~/.vimrc-bak ~/.vimrc
Jump to Line
Something went wrong with that request. Please try again.