Hi!
On Thu, 21 Nov 2024, Igbanam Ogbuluijah wrote:
> The nvim plugin for Age is barely six weeks old — no pun intended. It's
> basically a wrapper. So if you have Age setup, you can open the file and
> run the command to decrypt it from command
>
> :e some.encrypted.age
> :r! age --decrypt %
> [ . . . do stuff in buffer . . .]
> :r! age --encrypt %
> :w
>
> *p.s: I know this may not be the most optimal way, but it gets you started*
Thank you!
One thing of note (also for the benefit of other readers): there a few
more steps one would take (that the gpg plugin does), e.g. making sure
no unencrypted undo/redo list is saved. Disabling the swapfile is one of
those things. To ensure this is consistent, the gpg plugin basically
only works for new files if they are named foo.txt.gpg.
Best,
Tobias
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/42545a7e-615d-48a3-a7e7-fdafc60a5324%40skade.local.
Thursday, November 21, 2024
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment