use tabs not spaces for python, move python.vmi to after/
This commit is contained in:
parent
8405768563
commit
57eb3389d4
1 changed files with 6 additions and 1 deletions
19
after/ftplugin/python.vim
Normal file
19
after/ftplugin/python.vim
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
set tabstop=4
|
||||
set softtabstop=0
|
||||
set shiftwidth=4
|
||||
set noexpandtab
|
||||
|
||||
" set softtabstop=8
|
||||
" set tabstop=4
|
||||
" set shiftwidth=4
|
||||
|
||||
set textwidth=88
|
||||
|
||||
set foldmethod=indent
|
||||
set foldnestmax=1
|
||||
|
||||
set colorcolumn=88
|
||||
|
||||
noremap <F4> :w<CR>:silent !clear;python %<CR> :redraw!<CR>
|
||||
nnoremap <silent> <buffer> <F5> :call SaveAndExecute('python')<CR>
|
||||
command! CTagsPython !ctags -R --fields=+l --languages=python --python-kinds=-iv -f ./.tags-py $(python -c "import os, sys; print(' '.join('{}'.format(d) for d in sys.path if os.path.isdir(d)))")
|
||||
Loading…
Add table
Add a link
Reference in a new issue