Skip to content

Instantly share code, notes, and snippets.

@bayendor
Created Apr 4, 2016
Embed
What would you like to do?
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