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:
Arun Prakash Jana 2018-01-06 11:58:01 +05:30
parent 542fd2f6e8
commit 2e7722976b
No known key found for this signature in database
GPG key ID: A75979F35C080412

7
nnn.c
View file

@ -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: