Created
December 22, 2011 19:25
-
-
Save maxenglander/1511517 to your computer and use it in GitHub Desktop.
Jordan is a smelly bum
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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