aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-24 23:49:38 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-24 23:49:38 +1200
commit566602e13b9b08a827ceda648ec094d20a114e5c (patch)
tree3a72c272b0da94d32ccafa6044fe0c135a6148bb
parentMerge branch 'release/v4.46.0' into develop (diff)
downloaddotfiles-566602e13b9b08a827ceda648ec094d20a114e5c.tar.gz
dotfiles-566602e13b9b08a827ceda648ec094d20a114e5c.zip
Adjust order of .vimrc
-rw-r--r--vim/vimrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 740066dd..130fe16f 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -25,6 +25,10 @@ else
let &softtabstop = &shiftwidth
endif
+" Restore insert mode 'backspace' limits to the stringent Vim default, if a
+" system vimrc or Neovim's heretical defaults has messed with it
+set backspace=
+
" Try to keep backups in one system-appropriate directory, including full
" encoded path in filename (trailing double slash) if supported (v8.1.251)
set backup
@@ -34,10 +38,6 @@ else
set backupdir^=$MYVIM/cache/backup
endif
-" Restore insert mode 'backspace' limits to the stringent Vim default, if a
-" system vimrc or Neovim's heretical defaults has messed with it
-set backspace=
-
" Add some *nix paths not to back up
" /dev/shm: Shared memory RAM disk
" /usr/tmp: Hard-coded path for `sudo -e` 1/2