Remove key Backspace

This commit is contained in:
Arun Prakash Jana 2019-01-19 14:08:21 +05:30
parent d2ca475a4c
commit 772619527f
No known key found for this signature in database
GPG Key ID: A75979F35C080412
4 changed files with 5 additions and 8 deletions

View File

@ -210,8 +210,8 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
NAVIGATION
↑, k, ^P Up PgUp, ^U Scroll up
↓, j, ^N Down PgDn, ^D Scroll down
←, Bksp, h, ^H Parent dir ~ Go HOME
→, ↵, l, ^M Open file/dir & Start dir
, h, ^H Parent dir ~ Go HOME
↵, →, l, ^M Open file/dir & Start dir
Home, g, ^A First entry - Last visited dir
End, G, ^E Last entry . Toggle show hidden
/ Filter Ins, ^T Toggle nav-as-you-type

2
nnn.1
View File

@ -33,7 +33,7 @@ NAVIGATION
Move to previous entry
.It Ic [Down], j, ^N
Move to next entry
.It Ic [Left], [Backspace], h, ^H
.It Ic [Left], h, ^H
Go to parent directory
.It Ic [Right], [Enter], l, ^M
Open file or enter directory

View File

@ -2093,8 +2093,8 @@ static bool show_help(char *path)
"1NAVIGATION\n"
"7↑, k, ^P Up PgUp, ^U Scroll up\n"
"7↓, j, ^N Down PgDn, ^D Scroll down\n"
"1←, Bksp, h, ^H Parent dir ~ Go HOME\n"
"4→, ↵, l, ^M Open file/dir & Start dir\n"
"7←, h, ^H Parent dir ~ Go HOME\n"
"4↵, →, l, ^M Open file/dir & Start dir\n"
"4Home, g, ^A First entry - Last visited dir\n"
"5End, G, ^E Last entry . Toggle show hidden\n"
"e/ Filter Ins, ^T Toggle nav-as-you-type\n"

View File

@ -103,9 +103,6 @@ struct key {
static struct key bindings[] = {
/* Back */
{ KEY_BACKSPACE, SEL_BACK },
{ '\b' /* BS */, SEL_BACK },
{ 127 /* DEL */, SEL_BACK },
{ KEY_LEFT, SEL_BACK },
{ 'h', SEL_BACK },
{ CONTROL('H'), SEL_BACK },