mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Fix up vim settings for python.
This commit is contained in:
@@ -1 +1,7 @@
|
|||||||
nnoremap <F8> :%!autopep8 -<CR>
|
nnoremap <F8> :%!autopep8 -<CR>
|
||||||
|
setlocal tabstop=4
|
||||||
|
setlocal softtabstop=4
|
||||||
|
setlocal shiftwidth=4
|
||||||
|
setlocal textwidth=80
|
||||||
|
setlocal smarttab
|
||||||
|
setlocal expandtab
|
||||||
|
|||||||
2
vimrc
2
vimrc
@@ -104,7 +104,7 @@ endfunction
|
|||||||
|
|
||||||
" Options for syntastic
|
" Options for syntastic
|
||||||
let g:syntastic_enable_signs = 1
|
let g:syntastic_enable_signs = 1
|
||||||
let g:syntastic_auto_lock_list = 2
|
let g:syntastic_auto_loc_list = 2
|
||||||
" Have F5 run the tests and display errors
|
" Have F5 run the tests and display errors
|
||||||
nnoremap <silent> <F5> :SyntasticCheck<CR> :Errors<CR>
|
nnoremap <silent> <F5> :SyntasticCheck<CR> :Errors<CR>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user