From 516dab7f8b5083a3c6665c29cffc28b9645b3a85 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 17 Jun 2019 20:41:34 +0200 Subject: 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. --- ftplugin/python.vim | 6 ------ 1 file changed, 6 deletions(-) (limited to 'ftplugin/python.vim') 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 -nnoremap o o -nnoremap O O - - " Quickly add a debug line nnoremap gdo oimport ipdb; ipdb.set_trace()_ nnoremap gdO Oimport ipdb; ipdb.set_trace()_ -- cgit v1.2.3