aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 8b873fdd92c1533cad96e041baf88c4da32bf6c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
redact\_pass.vim
================

This plugin switches off the `'viminfo'`, `'backup'`, `'writebackup'`,
`'swapfile'`, and `'undofile'` options globally when editing a password in
`pass(1)`.

This is to prevent anyone being able to extract passwords from your Vim cache
files in the event of a compromise.

You should test this after installation to ensure you see this message is
printed whenever you `pass edit`:

> Editing password file--disabled leaky options!

License
-------

Copyright (c) [Tom Ryder][1].  Distributed under the same terms as Vim itself.
See `:help license`.

[1]: https://sanctum.geek.nz/