aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-05-05 18:17:03 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-05-05 18:17:03 +1200
commitad5b077e9c6a18d34f62b247ca1c02b3a148a3ef (patch)
tree2738f14014f3101eea03bae8be4a505c72bf35ad
parentAdd /tmp to 'backupskip' (diff)
downloaddotfiles-ad5b077e9c6a18d34f62b247ca1c02b3a148a3ef.tar.gz
dotfiles-ad5b077e9c6a18d34f62b247ca1c02b3a148a3ef.zip
Revert "Add /tmp to 'backupskip'"
It's part of the default anyway. This reverts commit 5d6f18d9baf4f5a0743ce4c63bb7fb6e5e2d5096.
-rw-r--r--vim/vimrc9
1 files changed, 4 insertions, 5 deletions
diff --git a/vim/vimrc b/vim/vimrc
index db44ace2..d60d66fd 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -2,7 +2,7 @@
" Tom Ryder (tejr)’s Literate Vimrc
" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
"
-" Last updated: Tue, 05 May 2020 05:45:30 UTC
+" Last updated: Mon, 04 May 2020 00:51:58 UTC
"
" │ And I was lifted up in heart, and thought
" │ Of all my late-shown prowess in the lists,
@@ -226,9 +226,8 @@ endif
" creation of such undesired backup files.
"
" * /dev/shm: RAM disk, default path for password-store’s temporary files
-" * /tmp: Temporary files
-" * /usr/tmp: Temporary files, hard-coded path for sudoedit(8) [1/2]
-" * /var/tmp: Temporary files, hard-coded path for sudoedit(8) [2/2]
+" * /usr/tmp: Hard-coded path for sudoedit(8) [1/2]
+" * /var/tmp: Hard-coded path for sudoedit(8) [2/2]
"
" Prior to v8.1.1519, Vim didn’t check patterns added to 'backupskip' for
" uniqueness, so adding the same path repeatedly resulted in duplicate strings
@@ -244,7 +243,7 @@ if has#('unix')
if !has#('patch-8.1.1519')
set backupskip&
endif
- set backupskip^=/dev/shm/*,/tmp/*,/usr/tmp/*,/var/tmp/*
+ set backupskip^=/dev/shm/*,/usr/tmp/*,/var/tmp/*
endif
" Keep swap files for file buffers in a dedicated directory, rather than the