summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/keyringer/editors/vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/keyringer/editors/vim b/share/keyringer/editors/vim
new file mode 100644
index 0000000..0f877df
--- /dev/null
+++ b/share/keyringer/editors/vim
@@ -0,0 +1,5 @@
+" Use sane defaults for VIM to avoid data leakage
+" See https://keyringer.pw/trac/ticket/50
+set nowritebackup
+set nobackup
+set viminfo="NONE"