nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit da661987aa064ca37dc557b37ff60991684ba514
parent e8eeff9b3dd30121e63991e99c844ec4002831e2
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Fri,  9 Nov 2018 09:51:29 +0530

key 'q' at key prompt quits context

Diffstat:
MREADME.md | 1+
Mnnn.c | 3+++
2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -273,6 +273,7 @@ The key prompt, invoked by <kbd>^B</kbd>, provides a powerful multi-functional n | <kbd>~</kbd> | Go to HOME directory | | <kbd>-</kbd> | Go to last visited directory | | <kbd>&</kbd> | Go to start directory | +| <kbd>q</kbd> | Quit context | If all the configured bookmark keys are single character, the prompt is not shown and <kbd>Enter</kbd> is not required; just press <kbd>^B</kbd> followed by the key. diff --git a/nnn.c b/nnn.c @@ -2807,6 +2807,9 @@ nochange: if (cfg.filtermode) presel = FILTER; goto begin; + case 'q': + presel = 'q'; + goto nochange; } }