Skip to content

Instantly share code, notes, and snippets.

@maxenglander
Created December 22, 2011 19:25
Show Gist options
  • Save maxenglander/1511517 to your computer and use it in GitHub Desktop.
Save maxenglander/1511517 to your computer and use it in GitHub Desktop.
Jordan is a smelly bum
set autoindent
set autoread
set backspace=eol,start,indent
set expandtab
set history=700
set nobackup
set nowb
set noswapfile
set ruler
set smartindent
set smarttab
set shiftwidth=2
syntax enable
set tabstop=4
if has("autocmd")
filetype indent on
endif
" Map auto complete of (, ", ', [
vnoremap ( <esc>`>a)<esc>`<i(<esc>
vnoremap [ <esc>`>a]<esc>`<i[<esc>
vnoremap { <esc>`>a}<esc>`<i{<esc>
vnoremap $$ <esc>`>a"<esc>`<i"<esc>
vnoremap ' <esc>`>a'<esc>`<i'<esc>
vnoremap " <esc>`>a"<esc>`<i"<esc>"'}])
inoremap ~( ()<esc>i
inoremap ~[ []<esc>i
inoremap ~{ {}<esc>i
inoremap ~} {<esc>o}<esc>O
inoremap ~' ''<esc>i
inoremap ~" ""<esc>i
inoremap ~< <><esc>i
" Themes
" Favorites: desert, elflord, ron, slate, torte, zellner
colorscheme torte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment