Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Suggested .vimrc lines for Cloudify
" GigaSpaces Cloudify settings, excerpt from my .vimrc + additional comments
" * CTRL+F9 to run flake QuickFix, CTRL+Enter/Shift+CTRL+Enter to navigate
" * Tabulation settings. You might need to adjust the folder name "gigaspaces"
map <C-F9> :make<CR>
noremap <C-CR> :cn<CR>:cc<CR>
noremap <S-C-CR> :cN<CR>:cc<CR>
hi CursorLine guibg=#F4F4F4
hi ColorColumn ctermbg=lightgrey guibg=#F4F4FF
" --- Python
au FileType python map <buffer> <F9> :!python %<CR>
au FileType python setlocal ts=4 sw=4 et makeprg=flake8\ % makeef=flake8.out
" Client: GigaSpaces
au BufNewFile,BufRead **/gigaspaces/**/*.py setlocal colorcolumn=80
au BufNewFile,BufRead **/gigaspaces/**/*.yaml setlocal colorcolumn=80 ts=4 sw=4 | norm zR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment