mirror of
https://github.com/jarun/nnn.git
synced 2025-02-26 03:01:32 +00:00
key 'q' at key prompt quits context
This commit is contained in:
parent
e8eeff9b3d
commit
da661987aa
2 changed files with 4 additions and 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.
|
||||
|
||||
|
|
3
nnn.c
3
nnn.c
|
@ -2807,6 +2807,9 @@ nochange:
|
|||
if (cfg.filtermode)
|
||||
presel = FILTER;
|
||||
goto begin;
|
||||
case 'q':
|
||||
presel = 'q';
|
||||
goto nochange;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue