diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2018-03-07 18:32:48 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2018-03-07 18:32:48 +0530 |
commit | eddc0c93bab44f2503fe6a28db8d0d545ceb03f8 (patch) | |
tree | 644d199e9184e413940fa76214842b7296f790cd | |
parent | 91ef394dbdd91ad9796aaaf6a1dfe7517ed116ae (diff) | |
download | nnn-eddc0c93bab44f2503fe6a28db8d0d545ceb03f8.tar.gz |
Fix #95: Add ^I as an alternative to Insert
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | nnn.1 | 2 | ||||
-rw-r--r-- | nnn.c | 3 | ||||
-rw-r--r-- | nnn.h | 1 |
4 files changed, 5 insertions, 3 deletions
@@ -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 @@ -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 @@ -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" @@ -118,6 +118,7 @@ static struct key bindings[] = { { '/', SEL_FLTR, "", "" }, /* Toggle filter mode */ { KEY_IC, SEL_MFLTR, "", "" }, + { CONTROL('I'), SEL_MFLTR, "", "" }, /* Desktop search */ { CONTROL('_'), SEL_SEARCH, "", "" }, /* Toggle hide .dot files */ |