diff options
author | Teddy Wing | 2019-06-17 20:41:34 +0200 |
---|---|---|
committer | Teddy Wing | 2019-06-17 20:41:34 +0200 |
commit | 516dab7f8b5083a3c6665c29cffc28b9645b3a85 (patch) | |
tree | 2f4a482c87d0f740f16b4c080e2c79693c369338 /ftplugin/python.vim | |
parent | a4d85d0f98688b4eb73bcbf1a275eb90c8336e87 (diff) | |
download | dotvim-516dab7f8b5083a3c6665c29cffc28b9645b3a85.tar.bz2 |
vimrc: Don't preserve indentation on empty lines
Over the years and as I've been using Vim, I've gradually stopped liking
this style, and now prefer blank lines without whitespace.
Rather than continuing to override the default for different filetypes,
it feels like it's time to change the default.
Diffstat (limited to 'ftplugin/python.vim')
-rw-r--r-- | ftplugin/python.vim | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ftplugin/python.vim b/ftplugin/python.vim index 434ae8e..1c0d30b 100644 --- a/ftplugin/python.vim +++ b/ftplugin/python.vim @@ -10,12 +10,6 @@ setlocal shiftwidth=4 setlocal textwidth=79 -" Don't preserve indentation on empty lines -inoremap <buffer> <CR> <CR> -nnoremap <buffer> o o -nnoremap <buffer> O O - - " Quickly add a debug line nnoremap <buffer> <leader>gdo oimport ipdb; ipdb.set_trace()<Esc>_ nnoremap <buffer> <leader>gdO Oimport ipdb; ipdb.set_trace()<Esc>_ |