1
0
Fork 0
mirror of synced 2024-12-21 22:41:06 -05:00

Improved auto indenting for regular langs and for Python

This commit is contained in:
amix 2016-08-26 14:14:22 +02:00
parent 23ba938b6d
commit 183ca1cfc5
2 changed files with 5 additions and 3 deletions

View file

@ -189,9 +189,8 @@ set tabstop=4
set lbr set lbr
set tw=500 set tw=500
set cindent set ai "Auto indent
set cinkeys-=0# set si "Smart indent
set indentkeys-=0#
set wrap "Wrap lines set wrap "Wrap lines

View file

@ -17,6 +17,9 @@ au FileType python map <buffer> <leader>1 /class
au FileType python map <buffer> <leader>2 /def au FileType python map <buffer> <leader>2 /def
au FileType python map <buffer> <leader>C ?class au FileType python map <buffer> <leader>C ?class
au FileType python map <buffer> <leader>D ?def au FileType python map <buffer> <leader>D ?def
au FileType python set cindent
au FileType python set cinkeys-=0#
au FileType python set indentkeys-=0#
"""""""""""""""""""""""""""""" """"""""""""""""""""""""""""""