diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2018-11-09 09:51:29 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2018-11-09 09:54:03 +0530 |
commit | da661987aa064ca37dc557b37ff60991684ba514 (patch) | |
tree | 523e0ee58251da4105ff93b019da1727f6d09d96 | |
parent | e8eeff9b3dd30121e63991e99c844ec4002831e2 (diff) | |
download | nnn-da661987aa064ca37dc557b37ff60991684ba514.tar.gz |
key 'q' at key prompt quits context
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | nnn.c | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -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. @@ -2807,6 +2807,9 @@ nochange: if (cfg.filtermode) presel = FILTER; goto begin; + case 'q': + presel = 'q'; + goto nochange; } } |