From 775742150cb96d3ab6d7d76fbaf8942d3caf9e2b Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 14 Aug 2019 00:58:33 +0530 Subject: Custom keybinds to run plugins directly --- plugins/README.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'plugins') 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 xN: + + export NNN_PLUG='fzy-open;mocplay;ndiff;nmount;viuimg;pdfview' + +With this, plugin `fzy-open` can be run with the keybind x1, `mocplay` can be run with x2 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. -- cgit v1.2.3-70-g09d2