From 02b3273233a2a111c951312f1698a5091894fb30 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 14 Aug 2019 19:57:44 +0530 Subject: Use key-plugin pairs for running plugins --- plugins/README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'plugins') 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 xN: +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 x-key: -With this, plugin `fzy-open` can be run with the keybind x1, `mocplay` can be run with x2 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 xo, `mocplay` can be run with xp and so on... The key vs. plugin pairs are shown in the help and config screen. #### Contributing plugins -- cgit v1.2.3-70-g09d2