Skip to content

Instantly share code, notes, and snippets.

@nmccready
Created November 17, 2013 16:43
Show Gist options
  • Save nmccready/7515332 to your computer and use it in GitHub Desktop.
Save nmccready/7515332 to your computer and use it in GitHub Desktop.
set fo=tcq
set nocompatible
set modeline
syntax on
highlight comment ctermfg=cyan
set tabstop=2
set expandtab
set softtabstop=2
set shiftwidth=2
highlight LiteralTabs ctermbg=darkgreen guibg=darkgreen
match LiteralTabs /\s\ /
highlight ExtraWhitespace ctermbg=darkgreen guibg=darkgreen
match ExtraWhitespace /\s\+$/
set ruler
"Enable indentation mathing for =>'s"
filetype plugin indent on
au BufRead,BufNewFile *.pp
\ set filetype=puppet
au BufRead,BufNewFile *_spec.rb
\ nmap <F8> :!rspec --color %<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment