mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
Remove key Backspace
This commit is contained in:
parent
d2ca475a4c
commit
772619527f
|
@ -210,8 +210,8 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
|
||||||
NAVIGATION
|
NAVIGATION
|
||||||
↑, k, ^P Up PgUp, ^U Scroll up
|
↑, k, ^P Up PgUp, ^U Scroll up
|
||||||
↓, j, ^N Down PgDn, ^D Scroll down
|
↓, j, ^N Down PgDn, ^D Scroll down
|
||||||
←, Bksp, h, ^H Parent dir ~ Go HOME
|
←, h, ^H Parent dir ~ Go HOME
|
||||||
→, ↵, l, ^M Open file/dir & Start dir
|
↵, →, l, ^M Open file/dir & Start dir
|
||||||
Home, g, ^A First entry - Last visited dir
|
Home, g, ^A First entry - Last visited dir
|
||||||
End, G, ^E Last entry . Toggle show hidden
|
End, G, ^E Last entry . Toggle show hidden
|
||||||
/ Filter Ins, ^T Toggle nav-as-you-type
|
/ Filter Ins, ^T Toggle nav-as-you-type
|
||||||
|
|
2
nnn.1
2
nnn.1
|
@ -33,7 +33,7 @@ NAVIGATION
|
||||||
Move to previous entry
|
Move to previous entry
|
||||||
.It Ic [Down], j, ^N
|
.It Ic [Down], j, ^N
|
||||||
Move to next entry
|
Move to next entry
|
||||||
.It Ic [Left], [Backspace], h, ^H
|
.It Ic [Left], h, ^H
|
||||||
Go to parent directory
|
Go to parent directory
|
||||||
.It Ic [Right], [Enter], l, ^M
|
.It Ic [Right], [Enter], l, ^M
|
||||||
Open file or enter directory
|
Open file or enter directory
|
||||||
|
|
|
@ -2093,8 +2093,8 @@ static bool show_help(char *path)
|
||||||
"1NAVIGATION\n"
|
"1NAVIGATION\n"
|
||||||
"7↑, k, ^P Up PgUp, ^U Scroll up\n"
|
"7↑, k, ^P Up PgUp, ^U Scroll up\n"
|
||||||
"7↓, j, ^N Down PgDn, ^D Scroll down\n"
|
"7↓, j, ^N Down PgDn, ^D Scroll down\n"
|
||||||
"1←, Bksp, h, ^H Parent dir ~ Go HOME\n"
|
"7←, h, ^H Parent dir ~ Go HOME\n"
|
||||||
"4→, ↵, l, ^M Open file/dir & Start dir\n"
|
"4↵, →, l, ^M Open file/dir & Start dir\n"
|
||||||
"4Home, g, ^A First entry - Last visited dir\n"
|
"4Home, g, ^A First entry - Last visited dir\n"
|
||||||
"5End, G, ^E Last entry . Toggle show hidden\n"
|
"5End, G, ^E Last entry . Toggle show hidden\n"
|
||||||
"e/ Filter Ins, ^T Toggle nav-as-you-type\n"
|
"e/ Filter Ins, ^T Toggle nav-as-you-type\n"
|
||||||
|
|
|
@ -103,9 +103,6 @@ struct key {
|
||||||
|
|
||||||
static struct key bindings[] = {
|
static struct key bindings[] = {
|
||||||
/* Back */
|
/* Back */
|
||||||
{ KEY_BACKSPACE, SEL_BACK },
|
|
||||||
{ '\b' /* BS */, SEL_BACK },
|
|
||||||
{ 127 /* DEL */, SEL_BACK },
|
|
||||||
{ KEY_LEFT, SEL_BACK },
|
{ KEY_LEFT, SEL_BACK },
|
||||||
{ 'h', SEL_BACK },
|
{ 'h', SEL_BACK },
|
||||||
{ CONTROL('H'), SEL_BACK },
|
{ CONTROL('H'), SEL_BACK },
|
||||||
|
|
Loading…
Reference in a new issue