Version 2b; adds "Vim Mode"

This commit is contained in:
Jon-William Lewis
2017-05-09 07:37:53 -05:00
parent fce26bf573
commit 7577a682ae
2 changed files with 73 additions and 39 deletions

View File

@@ -51,6 +51,13 @@ root, and is deleted after editing, but can be recovered by forensic utilities.
SNS's encryption is mainly useful when the store is being _transferred over a
network_.
## Vim Encryption
As of SNS v2b, SNS will look for a file named .vim in its store. If found, SNS will start in Vim mode, calling Vim directly instead of the environment's $EDITOR, and using Vim's native functionality for in-place encryption.
At this time, SNS does not provide a way to convert between store formats. Additionally, SNS v2b does not support printing Vim-encrypted notes to stdout; you will need to open the note for editing and copy/paste out of Vim for the time being.
Finally, when using Vim mode, treat -c and -e separately.
## Tips and Tricks
* To list all notes in all notebooks, use `sns -l .`