aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/README.md
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-08-14 00:58:33 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-08-14 01:38:30 +0530
commit775742150cb96d3ab6d7d76fbaf8942d3caf9e2b (patch)
tree20e280798c91a42a8a275cb03c776e47ebc41f07 /plugins/README.md
parent3bd3418ab6b4f3826599d2e1ffaad723ef00c908 (diff)
downloadnnn-775742150cb96d3ab6d7d76fbaf8942d3caf9e2b.tar.gz
Custom keybinds to run plugins directly
Diffstat (limited to 'plugins/README.md')
-rw-r--r--plugins/README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/README.md b/plugins/README.md
index 10b7830..2e7d3b0 100644
--- a/plugins/README.md
+++ b/plugins/README.md
@@ -50,6 +50,12 @@ Each script has a _Description_ section which provides more details on what the
Use the _pick plugin_ shortcut to visit the plugin directory and execute a plugin. Repeating the same shortcut cancels the operation and puts you back in the original directory.
+To run (up to 8) plugins directly with <kbd>xN</kbd>:
+
+ export NNN_PLUG='fzy-open;mocplay;ndiff;nmount;viuimg;pdfview'
+
+With this, plugin `fzy-open` can be run with the keybind <kbd>x1</kbd>, `mocplay` can be run with <kbd>x2</kbd> and so on...
+
#### Contributing plugins
Plugins are scripts and all scripting languages should work. However, POSIX-compliant shell scripts runnable in `sh` are preferred. If that's too rudimentary for your use case, use Python, Perl or Ruby. Please keep non-portable commands (like `notify-send`) commented so users from any other OS/DE aren't surprised.