Created
June 25, 2012 21:58
-
-
Save igorgue/2991598 to your computer and use it in GitHub Desktop.
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 background=dark | |
colorscheme danger | |
au BufNewFile,BufRead js_templates.html set ft=javascript | |
if has('python') | |
" Disabled features | |
let g:pymode_doc = 0 | |
let g:pymode_rope = 0 | |
let g:pymode_rope_vim_completion = 0 | |
let g:pymode_lint = 0 | |
let g:pymode_lint_write = 0 | |
let g:pymode_folding = 0 | |
let g:pymode_options_other = 0 | |
" Enabled features | |
endif | |
set complete+=t | |
set formatoptions-=t | |
set nowrap | |
set textwidth=79 | |
set nonumber | |
"" Python indent options | |
"if !pymode#Default('g:pymode_options_indent', 1) || g:pymode_options_indent | |
"setlocal cinwords=if,elif,else,for,while,try,except,finally,def,class | |
"setlocal cindent | |
"setlocal tabstop=4 | |
"setlocal softtabstop=4 | |
"setlocal shiftwidth=4 | |
"setlocal shiftround | |
"setlocal smartindent | |
"setlocal smarttab | |
"setlocal expandtab | |
"setlocal autoindent | |
"endif | |
"" Python other options | |
"if !pymode#Default('g:pymode_options_other', 1) || g:pymode_options_other | |
"setlocal complete+=t | |
"setlocal formatoptions-=t | |
"setlocal number | |
"setlocal nowrap | |
"setlocal textwidth=79 | |
"endif | |
" Run my shit. | |
nmap <leader>t :make run_test TEST=%<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment