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 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
View file

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

View file

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

View file

@ -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 },