From 2200a1c9be7c63dd6b2c1abc7f6324a9c79f2fe5 Mon Sep 17 00:00:00 2001 From: lvgx Date: Wed, 13 May 2020 07:06:59 +0200 Subject: 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 --- nnn.1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'nnn.1') 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 -- cgit v1.2.3-70-g09d2