aboutsummaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-06 16:45:18 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-06 16:45:18 +1200
commit42481abf5714b506198020c3e13337902d9b1e39 (patch)
tree1ef9611caafd8e4e3b31c1a8da8028e55fdc9ca9 /README.markdown
downloadvim-redact-pass-42481abf5714b506198020c3e13337902d9b1e39.tar.gz
vim-redact-pass-42481abf5714b506198020c3e13337902d9b1e39.zip
Initial commit
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown22
1 files changed, 22 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
new file mode 100644
index 0000000..8087640
--- /dev/null
+++ b/README.markdown
@@ -0,0 +1,22 @@
+redact\_pass.vim
+================
+
+This plugin switches off the` 'viminfo'`, `'backup'`, `'swapfile'`, and
+`'undofile'` options locally for the buffer when editing passwords in the
+`pass(1)` password manager, or a comparable tool if `g:redact_pass_pattern` is
+set beforehand.
+
+This is to prevent anyone being able to extract passwords from your Vim cache
+files in the event of a compromise.
+
+Test this carefully to make sure it works! If it doesn't, it is probably
+because you need to set `g:redact_pass_pattern` to fit your system's behaviour,
+or the plugin hasn't loaded at all.
+
+License
+-------
+
+Copyright (c) [Tom Ryder][1]. Distributed under the same terms as Vim itself.
+See `:help license`.
+
+[1]: https://sanctum.geek.nz/