mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Enable extra shortcuts in navigate-as-you-type mode
Enabled functionality: - Copy file path (^K) - Run desktop search utility (^/) - Rename file (^R) - Open with... (^O) - Pin current directory (^B) - Visit pinned directory (^V) - Extract archive (^X)
This commit is contained in:
parent
542fd2f6e8
commit
2e7722976b
7
nnn.c
7
nnn.c
|
@ -982,6 +982,13 @@ filterentries(char *path)
|
|||
case CONTROL('L'):
|
||||
if (len == 1)
|
||||
cur = oldcur; // fallthrough
|
||||
case CONTROL('K'): // fallthrough
|
||||
case CONTROL('O'): // fallthrough
|
||||
case CONTROL('B'): // fallthrough
|
||||
case CONTROL('V'): // fallthrough
|
||||
case CONTROL('R'): // fallthrough
|
||||
case CONTROL('X'): // fallthrough
|
||||
case CONTROL('_'): // fallthrough
|
||||
case CONTROL('Q'):
|
||||
goto end;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue