aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDavid Elentok <3david@gmail.com>2024-05-14 18:15:13 +0300
committerDavid Elentok <3david@gmail.com>2024-05-14 18:17:09 +0300
commita805d34f123bc8add01bd44ad28f0baf57710083 (patch)
treeb868cef404823eaf4b7c78316459cf8b2a3fd013 /README.md
downloadencrypt.nvim-a805d34f123bc8add01bd44ad28f0baf57710083.tar.gz
Initial commit
Diffstat (limited to 'README.md')
-rw-r--r--README.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..45a94b7
--- /dev/null
+++ b/README.md
@@ -0,0 +1,29 @@
+# encrypt.nvim
+
+This is a simple alternative to the "X" command that was removed from Neovim.
+
+Disclaimer: It's probably not the most secure implementation (if such thing is
+even possible) but it gives the ability to edit files that will be stored in
+encrypted on the disk.
+
+## Usage
+
+1. Open a file
+2. Run `:X`
+3. Enter a password
+
+Now the file is encrypted and every time you open it you'll be asked for the
+password.
+
+## Installation
+
+Add the following to your package manager:
+
+```lua
+{ "elentok/encrypt.nvim", opts = {} },
+```
+
+## TODO
+
+- [ ] Store the password in a local scope in the plugin instead of as a buffer
+ variable.