mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 13:51:31 +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'):
|
case CONTROL('L'):
|
||||||
if (len == 1)
|
if (len == 1)
|
||||||
cur = oldcur; // fallthrough
|
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'):
|
case CONTROL('Q'):
|
||||||
goto end;
|
goto end;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue