mirror of
https://github.com/Ascyii/gpg.yazi.git
synced 2026-01-01 02:44:24 -05:00
Update readme
This commit is contained in:
11
README.md
11
README.md
@@ -1,5 +1,7 @@
|
|||||||
# Easy encryption with gpg for files
|
# Easy encryption with gpg for files
|
||||||
|
|
||||||
|
> "Easy file encryption in Neovim using GPG. Quickly encrypt files with a single keybind, manage default recipients, and optionally delete originals after encryption. Lightweight, Lua-configurable, and perfect for secure workflows." - GPT
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Install with `ya pkg add Ascyii/gpg`.
|
Install with `ya pkg add Ascyii/gpg`.
|
||||||
@@ -13,4 +15,13 @@ require("gpg"):setup {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Then add a keybind to the `keymap.toml`
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[mgr]
|
||||||
|
prepend_keymap = [
|
||||||
|
{on = [ "g", "E" ], run = "plugin gpg", desc = "Gpg encrypt the hovered file"}
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
||||||
Code was taken from `yazi-rs` and `Rolv-Apneseth`.
|
Code was taken from `yazi-rs` and `Rolv-Apneseth`.
|
||||||
|
|||||||
Reference in New Issue
Block a user