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/ruby.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/ruby.vim')
-rw-r--r-- | ftplugin/ruby.vim | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ftplugin/ruby.vim b/ftplugin/ruby.vim index e95b70f..cfdc0ca 100644 --- a/ftplugin/ruby.vim +++ b/ftplugin/ruby.vim @@ -7,12 +7,6 @@ setlocal softtabstop=2 setlocal shiftwidth=2 -" Don't preserve indentation on empty lines -inoremap <buffer> <CR> <CR> -nnoremap <buffer> o o -nnoremap <buffer> O O - - " Debugging nnoremap <buffer> Zd obyebug<Esc> nnoremap <buffer> ZD Obyebug<Esc> |