aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorkongjun <kongjun18@outlook.com>2025-04-29 06:51:01 +0000
committerkongjun <kongjun18@outlook.com>2025-04-29 06:59:38 +0000
commit872632670c31f682f3db01707468dbc12f154ab4 (patch)
treef8e75de6fa3dddc291a0a3c239e2dc616d256a8f /README.md
parente6057b3c13f004477f4963f3cdf054e5ca1bf2f4 (diff)
downloadencrypt.nvim-872632670c31f682f3db01707468dbc12f154ab4.tar.gz
feat: :X decrypts or encrypts files
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index c140814..cac1b86 100644
--- a/README.md
+++ b/README.md
@@ -8,6 +8,7 @@ in an encrypted format on the disk.
## Usage
+Encryption:
1. Open a file
2. Run `:X`
3. Enter a password
@@ -15,6 +16,13 @@ in an encrypted format on the disk.
Now the file is encrypted and every time you open it you'll be asked for the
password.
+Decryption:
+1. Open an encrypted file
+2. Run `:X`
+3. Enter a password
+
+Now the encrypted file is decrypted in the buffer.
+
## Installation
Add the following to your package manager: