Skip to content

Instantly share code, notes, and snippets.

@jeremyckahn
Created September 8, 2011 06:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeremyckahn/1202747 to your computer and use it in GitHub Desktop.
Save jeremyckahn/1202747 to your computer and use it in GitHub Desktop.
.vimrc
syntax enable
set number
set hlsearch
set incsearch
set nocp
set autoindent
set expandtab
set shiftwidth=4
set softtabstop=4
cnoreabbr nt NERDTree
let mapleader = ","
nmap <leader>vs :split<CR>
nmap <leader>sp :vsplit<CR>
nmap <leader>q :tabnew<CR>
nmap <leader>e :tabn<CR>
nmap <leader>w :tabp<CR>
nmap <leader>r :tabc<CR>
nmap <leader>n :NERDTree<CR>
" Use Vim settings, rather then Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment