Improved auto indenting for regular langs and for Python
This commit is contained in:
parent
23ba938b6d
commit
183ca1cfc5
2 changed files with 5 additions and 3 deletions
|
@ -189,9 +189,8 @@ set tabstop=4
|
|||
set lbr
|
||||
set tw=500
|
||||
|
||||
set cindent
|
||||
set cinkeys-=0#
|
||||
set indentkeys-=0#
|
||||
set ai "Auto indent
|
||||
set si "Smart indent
|
||||
set wrap "Wrap lines
|
||||
|
||||
|
||||
|
|
|
@ -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>C ?class
|
||||
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#
|
||||
|
||||
|
||||
""""""""""""""""""""""""""""""
|
||||
|
|
Loading…
Reference in a new issue