aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/README.md
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-08-14 19:57:44 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-08-14 21:58:18 +0530
commit02b3273233a2a111c951312f1698a5091894fb30 (patch)
tree88b14511caba571566ba4fbaad61dd2b89119fe9 /plugins/README.md
parent7b59a7dba970e1cf6de66d5b0e2fccb6cd37e841 (diff)
downloadnnn-02b3273233a2a111c951312f1698a5091894fb30.tar.gz
Use key-plugin pairs for running plugins
Diffstat (limited to 'plugins/README.md')
-rw-r--r--plugins/README.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/README.md b/plugins/README.md
index 2e7d3b0..182e248 100644
--- a/plugins/README.md
+++ b/plugins/README.md
@@ -48,13 +48,15 @@ Each script has a _Description_ section which provides more details on what the
#### Usage
-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.
+There are 2 ways to run plugins:
-To run (up to 8) plugins directly with <kbd>xN</kbd>:
+1. 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.
- export NNN_PLUG='fzy-open;mocplay;ndiff;nmount;viuimg;pdfview'
+2. To run (up to 10) plugins directly with <kbd>x-key</kbd>:
-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...
+ export NNN_PLUG='o:fzy-open;p:mocplay;d:ndiff;m:nmount;t:thumb'
+
+ With this, plugin `fzy-open` can be run with the keybind <kbd>xo</kbd>, `mocplay` can be run with <kbd>xp</kbd> and so on... The key vs. plugin pairs are shown in the help and config screen.
#### Contributing plugins