VIM Config settings for working with Puppet
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 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