aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc9
1 files changed, 3 insertions, 6 deletions
diff --git a/vimrc b/vimrc
index 893061e..ac948b3 100644
--- a/vimrc
+++ b/vimrc
@@ -429,6 +429,9 @@
" 2019.06.16:
" * Disable modelines for CVE-2019-12735.
"
+" 2019.06.17:
+" * Don't preserve indentation on empty lines.
+"
" Pathogen
@@ -680,12 +683,6 @@ vnoremap <c-h> <esc>:update<cr>gv
" Update all files and quit
nnoremap ZA :xall<cr>
-" Preserve indentation on empty lines
-" http://stackoverflow.com/a/7413117
-inoremap <CR> <CR>x<BS>
-nnoremap o ox<BS>
-nnoremap O Ox<BS>
-
" Allow undo of Ctrl-u and Ctrl-w in insert mode
" http://vim.wikia.com/wiki/Recover_from_accidental_Ctrl-U
inoremap <c-u> <c-g>u<c-u>