aboutsummaryrefslogtreecommitdiffstats
path: root/nnn.1
diff options
context:
space:
mode:
authorGravatar lvgx <l@vgx.fr>2020-05-13 07:06:59 +0200
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-05-13 12:29:47 +0530
commit2200a1c9be7c63dd6b2c1abc7f6324a9c79f2fe5 (patch)
tree60078d485b61901bea13a605fff7828be3e9e38d /nnn.1
parent770bb47dafd250c16c9c9850e641c3dc309fc45f (diff)
downloadnnn-2200a1c9be7c63dd6b2c1abc7f6324a9c79f2fe5.tar.gz
Allow launching plugins with Alt + plugin's key (#569)
* Allow launching plugins with Alt + plugin's key * Fix Alt key in filter/prompts modes * Fix handling Alt key in nextsel() In filter mode: run the associated plugin. In prompt mode: just throw out the Alt+key input. In nextsel(): differentiate Alt+key and Esc
Diffstat (limited to 'nnn.1')
-rw-r--r--nnn.16
1 files changed, 4 insertions, 2 deletions
diff --git a/nnn.1 b/nnn.1
index 67b1b58..93e231e 100644
--- a/nnn.1
+++ b/nnn.1
@@ -338,8 +338,10 @@ separated by \fI;\fR:
export NNN_PLUG='f:finder;o:fzopen;p:mocplay;d:diffs;t:nmount;v:imgview'
NOTES:
- 1. To run a plugin directly, press \fI;\fR followed by the plugin key.
- 2. To skip directory refresh after running a plugin, prefix with \fB-\fR.
+ 1. To run a plugin directly, press \fI;\fR followed by the key_char.
+ 2. Alternative way to run a plugin directly -
+ prefix with \fIAlt\fR (i.e. \fIAlt+key_char\fR).
+ 3. To skip directory refresh after running a plugin, prefix with \fB-\fR.
export NNN_PLUG='m:-mediainf'
.Ed