Vim automatically removes indentation on Python comments
https://stackoverflow.com/questions/2360249/vim-automatically-removes-indentation-on-python-comments
This commit is contained in:
parent
92c9100a45
commit
879cd3da25
1 changed files with 6 additions and 0 deletions
|
@ -380,3 +380,9 @@ function! VisualSelection(direction, extra_filter) range
|
|||
let @/ = l:pattern
|
||||
let @" = l:saved_reg
|
||||
endfunction
|
||||
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" => Python
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
autocmd BufRead *.py inoremap # X<c-h>#<space>
|
||||
|
|
Loading…
Reference in a new issue