Skip to content

Instantly share code, notes, and snippets.

@bayendor
Created April 4, 2016 14:05
Show Gist options
  • Save bayendor/550339bd4a22c8b64b4c2529fb2a3f93 to your computer and use it in GitHub Desktop.
Save bayendor/550339bd4a22c8b64b4c2529fb2a3f93 to your computer and use it in GitHub Desktop.
VIM Config settings for working with Puppet
" Set up puppet manifest and spec options
au BufRead,BufNewfile *.pp
\ set filetype=puppet
au BufRead,BufNewfile *_spec.rb
\ nmap <F8 :!rspec --color %<CR>
" Enable indentation matching for =>'s
filetype plugin indent on
" turn off auto adding comments on next line
" so you can cut and paste reliably
set fo=tcq
"set default comment color to cyan
highlight comment ctermfg=cyan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment