aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-05 10:04:53 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-05 10:07:51 +1200
commit17c2c026ff22bc7fea85241558b96bcaa435f36d (patch)
treeeffb88f7227f5f24dfd6f3a55316e406a0d0a022
parentSwitch back to :lhelpgrep for help searches (diff)
downloaddotfiles-17c2c026ff22bc7fea85241558b96bcaa435f36d.tar.gz
dotfiles-17c2c026ff22bc7fea85241558b96bcaa435f36d.zip
Revert "Try doing without 'backspace' settings"
This reverts commit 11bee5281cbc9e0ed937937ad31212dfcc4b2426. Nah, this doesn't work.
-rw-r--r--vim/vimrc7
1 files changed, 4 insertions, 3 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 950b0e87..a5abb0b7 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -16,9 +16,10 @@ set shiftwidth=4 " Indent with four spaces
" negative value to do this if Vim new enough to support it
let &softtabstop = vimrc#Version('7.3.693') ? -1 : &shiftwidth
-" Allow me to backspace 'autoindent' spaces in insert mode, and back over the
-" end of lines I've inserted in this session
-set backspace=indent,eol
+" Let me backspace over pretty much anything
+set backspace+=eol " Line breaks
+set backspace+=indent " Spaces from 'autoindent'
+set backspace+=start " Before the start of current insertion
" Keep backup files in dedicated directory; add trailing double-slash to keep
" full path in name, if Vim is new enough to support that