Created
March 11, 2014 11:09
-
-
Save ilyash/9483738 to your computer and use it in GitHub Desktop.
Suggested .vimrc lines for Cloudify
This file contains hidden or 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
" 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