diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-29 13:17:08 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-29 13:19:00 +1200 |
commit | fe56520f8ac541cfa4c4a013ab9dca252f8fea40 (patch) | |
tree | f71ea09143d7560f2ca19d180ef9f4319ec8052e | |
parent | Update vim-vertical-region to v1.2.0 (diff) | |
download | dotfiles-fe56520f8ac541cfa4c4a013ab9dca252f8fea40.tar.gz dotfiles-fe56520f8ac541cfa4c4a013ab9dca252f8fea40.zip |
Add 'indent' and 'eol' flags to 'backspace'
It's annoying not being able to remove the indent in e.g. heredocs, and
I feel that being able to do so is still philosophically consistent,
because the spaces were inserted during that insert operation. Newlines
were, too.
What I don't want to do, at least not just yet, is add 'start', because
I should be using normal mode commands for such deletions.
-rw-r--r-- | vim/vimrc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -20,9 +20,9 @@ let &softtabstop = v:version > 703 \ || v:version == 703 && has('patch693') \ ? -1 : &shiftwidth -" Restore insert mode 'backspace' limits to the stringent Vim default, if a -" system vimrc or Neovim has messed with it -set backspace= +" 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 " Keep backup files in dedicated directory; add trailing double-slash to keep " full path in name, if Vim is new enough to support that |