mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Fix #95: Add ^I as an alternative to Insert
This commit is contained in:
parent
91ef394dbd
commit
eddc0c93ba
|
@ -221,7 +221,7 @@ optional arguments:
|
|||
→, ↵, l, ^M | Open file or enter dir
|
||||
←, Bksp, h, ^H | Go to parent dir
|
||||
^O | Open with...
|
||||
Insert | Toggle navigate-as-you-type
|
||||
Insert, ^I | Toggle navigate-as-you-type
|
||||
~ | Go HOME
|
||||
& | Go to initial dir
|
||||
- | Go to last visited dir
|
||||
|
|
2
nnn.1
2
nnn.1
|
@ -48,7 +48,7 @@ Open file or enter directory
|
|||
Back up one directory level
|
||||
.It Ic ^O
|
||||
Open with a custom application
|
||||
.It Ic [Insert]
|
||||
.It Ic [Insert], ^I
|
||||
Toggle navigate-as-you-type mode
|
||||
.It Ic ~
|
||||
Change to the HOME directory
|
||||
|
|
3
nnn.c
3
nnn.c
|
@ -1144,6 +1144,7 @@ filterentries(char *path)
|
|||
case CONTROL('G'): // fallthrough
|
||||
case CONTROL('X'): // fallthrough
|
||||
case CONTROL('F'): // fallthrough
|
||||
case CONTROL('I'): // fallthrough
|
||||
case CONTROL('T'):
|
||||
if (len == 1)
|
||||
cur = oldcur;
|
||||
|
@ -1898,7 +1899,7 @@ show_help(char *path)
|
|||
"4→, ↵, l, ^M | Open file or enter dir\n"
|
||||
"1←, Bksp, h, ^H | Go to parent dir\n"
|
||||
"d^O | Open with...\n"
|
||||
"9Insert | Toggle navigate-as-you-type\n"
|
||||
"5Insert, ^I | Toggle navigate-as-you-type\n"
|
||||
"e~ | Go HOME\n"
|
||||
"e& | Go to initial dir\n"
|
||||
"e- | Go to last visited dir\n"
|
||||
|
|
Loading…
Reference in a new issue