From 6a88d734bdb4660945923c3f4a38c14e45847c2c Mon Sep 17 00:00:00 2001 From: kongjun Date: Tue, 29 Apr 2025 03:49:28 +0000 Subject: feat: store passwords in a local scope instead of as a buffer variable --- README.md | 5 ----- 1 file changed, 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index ece988b..c140814 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,3 @@ tail -n +2 encrypted.txt \ ``` Or use the provided [decrypt.sh](decrypt.sh) - -## TODO - -- [ ] Store the password in a local scope in the plugin instead of as a buffer - variable. -- cgit v1.2.3 From 872632670c31f682f3db01707468dbc12f154ab4 Mon Sep 17 00:00:00 2001 From: kongjun Date: Tue, 29 Apr 2025 06:51:01 +0000 Subject: feat: :X decrypts or encrypts files --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'README.md') 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: -- cgit v1.2.3