aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin/objc.vim
diff options
context:
space:
mode:
authorTeddy Wing2019-06-17 20:41:34 +0200
committerTeddy Wing2019-06-17 20:41:34 +0200
commit516dab7f8b5083a3c6665c29cffc28b9645b3a85 (patch)
tree2f4a482c87d0f740f16b4c080e2c79693c369338 /ftplugin/objc.vim
parenta4d85d0f98688b4eb73bcbf1a275eb90c8336e87 (diff)
downloaddotvim-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/objc.vim')
-rw-r--r--ftplugin/objc.vim6
1 files changed, 0 insertions, 6 deletions
diff --git a/ftplugin/objc.vim b/ftplugin/objc.vim
index 32e9437..8d7e976 100644
--- a/ftplugin/objc.vim
+++ b/ftplugin/objc.vim
@@ -5,12 +5,6 @@ setlocal softtabstop=4
setlocal shiftwidth=4
-" Don't preserve indentation on empty lines
-inoremap <buffer> <CR> <CR>
-nnoremap <buffer> o o
-nnoremap <buffer> O O
-
-
" Comment string
call tcomment#DefineType('objc', '// %s')