Skip to content

Instantly share code, notes, and snippets.

@aaitken
Created March 16, 2015 21:30
Show Gist options
  • Save aaitken/739b2452c867d43c3243 to your computer and use it in GitHub Desktop.
Save aaitken/739b2452c867d43c3243 to your computer and use it in GitHub Desktop.
" https://github.com/tpope/vim-pathogen
execute pathogen#infect()
syntax on
filetype plugin indent on
set backupdir=/tmp
set directory=/tmp
" http://vim.wikia.com/wiki/Example_vimrc
set nocompatible
set ruler
set laststatus=2
set cmdheight=2
set hlsearch
set number
set shiftwidth=2
set softtabstop=2
set expandtab
" Nerdtree
" https://github.com/scrooloose/nerdtree
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
" Nerdcommenter
" https://github.com/scrooloose/nerdcommenter
filetype plugin on
" http://dailyvim.blogspot.com/2008/11/using-mapleader.html
let mapleader = ","
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment