Skip to content

Instantly share code, notes, and snippets.

@toenuff
Created March 23, 2014 00:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toenuff/9716710 to your computer and use it in GitHub Desktop.
Save toenuff/9716710 to your computer and use it in GitHub Desktop.
set shell=powershell
set shellcmdflag=-command
set tabstop=4 softtabstop=4 shiftwidth=4 noexpandtab
set autoindent " ai: indent to match previous line
set cindent " cin: Use C-indenting
set cinkeys=0{,0},0),!^F,o,O,e " cink: Perl-friendly reindent keys
set cinoptions=t0,+4,(0,)60,u0,*100 " cino: all sorts of options
set cinwords=if,else,while,do,for,elsif,sub
set comments=n:# " com: Perlish comments
set formatoptions=crql " fo: word wrap, format comments
set nosmartindent " nosi: Smart indent useless when C-indent is on
set showmatch " show matches on parens, bracketc, etc.
set background=dark
set backspace=2
imap jj <Esc>
inoremap {<CR> {<CR>}<Esc>O
inoremap (<CR> (<CR>)<Esc>O
"hi Comment term=bold ctermfg=DarkBlue guifg=Blue
syntax enable
filetype plugin on
set omnifunc=syntaxcomplete#Complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment