aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-09-19 05:14:35 +0200
committerTeddy Wing2017-09-19 05:16:16 +0200
commitb5b423cd084be4b04e55acdd919f2a43448ff60b (patch)
treea907565acf331485cd52f0ec1dd17f73e720b8fb
parent1ebfa318c6dc6712fbbe7cbe881b8ec449dbc4a2 (diff)
downloaddotvim-b5b423cd084be4b04e55acdd919f2a43448ff60b.tar.bz2
vimrc: Set 'backspace=indent,eol,start'
I installed my Vim config on another machine recently and noticed that it didn't automatically set 'bs=2', like in my normal environment. Put this in our vimrc because it should just work everywhere.
-rw-r--r--vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 6437378..b511318 100644
--- a/vimrc
+++ b/vimrc
@@ -375,6 +375,10 @@
" 2017.08.11:
" * Add window number to the statusline for quicker window movement.
"
+" 2017.09.19:
+" * Set 'backspace=2' because that doesn't get set by default on some
+" Vims.
+"
" Pathogen
@@ -424,6 +428,8 @@ set smartcase " Case insensitive unless an uppercase character is entered
set splitright " Open vertical splits to the right of the current window
+set backspace=indent,eol,start
+
" Don't persist options & mappings in saved sessions
set sessionoptions-=options