@@ -209,10 +209,10 @@ 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 | ||||
Home, g, ^, ^A First entry ~ Go HOME | |||||
End, G, $, ^E Last entry & Start dir | |||||
←, Bksp, h, ^H Parent dir - Last visited dir | |||||
→, ↵, l, ^M Open file/dir . Toggle show hidden | |||||
←, Bksp, 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 | / Filter Ins, ^T Toggle nav-as-you-type | ||||
b Pin current dir ^W Go to pinned dir | b Pin current dir ^W Go to pinned dir | ||||
Tab, ^I Next context d Toggle detail view | Tab, ^I Next context d Toggle detail view | ||||
@@ -26,9 +26,6 @@ opens the current working directory by default if | |||||
is not specified. | is not specified. | ||||
.Sh KEYBINDS | .Sh KEYBINDS | ||||
.Pp | .Pp | ||||
.Nm | |||||
supports both vi-like and emacs-like key bindings as listed below. | |||||
.Pp | |||||
NAVIGATION | NAVIGATION | ||||
.Pp | .Pp | ||||
.Bl -tag -width "l, [Right], [Return] or C-mXXXX" -offset indent -compact | .Bl -tag -width "l, [Right], [Return] or C-mXXXX" -offset indent -compact | ||||
@@ -36,18 +33,18 @@ 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 | |||||
Go to parent directory | |||||
.It Ic [Right], [Enter], l, ^M | |||||
Open file or enter directory | |||||
.It Ic [PgUp], ^U | .It Ic [PgUp], ^U | ||||
Scroll up half a page | Scroll up half a page | ||||
.It Ic [PgDn], ^D | .It Ic [PgDn], ^D | ||||
Scroll down half a page | Scroll down half a page | ||||
.It Ic [Home], g, ^, ^A | |||||
.It Ic [Home], g, ^A | |||||
Move to the first entry | Move to the first entry | ||||
.It Ic [End], G, $, ^E | |||||
.It Ic [End], G, ^E | |||||
Move to the last entry | Move to the last entry | ||||
.It Ic [Left], [Backspace], h, ^H | |||||
Go to parent directory | |||||
.It Ic [Right], [Enter], l, ^M | |||||
Open file or enter directory | |||||
.It Ic ~ | .It Ic ~ | ||||
Change to the HOME directory | Change to the HOME directory | ||||
.It Ic & | .It Ic & | ||||
@@ -2093,10 +2093,10 @@ 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" | ||||
"1Home, g, ^, ^A First entry ~ Go HOME\n" | |||||
"2End, G, $, ^E Last entry & Start dir\n" | |||||
"1←, Bksp, h, ^H Parent dir - Last visited dir\n" | |||||
"4→, ↵, l, ^M Open file/dir . Toggle show hidden\n" | |||||
"1←, Bksp, 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" | "e/ Filter Ins, ^T Toggle nav-as-you-type\n" | ||||
"eb Pin current dir ^W Go to pinned dir\n" | "eb Pin current dir ^W Go to pinned dir\n" | ||||
"8Tab, ^I Next context d Toggle detail view\n" | "8Tab, ^I Next context d Toggle detail view\n" | ||||
@@ -129,12 +129,10 @@ static struct key bindings[] = { | |||||
{ KEY_HOME, SEL_HOME }, | { KEY_HOME, SEL_HOME }, | ||||
{ 'g', SEL_HOME }, | { 'g', SEL_HOME }, | ||||
{ CONTROL('A'), SEL_HOME }, | { CONTROL('A'), SEL_HOME }, | ||||
{ '^', SEL_HOME }, | |||||
/* Last entry */ | /* Last entry */ | ||||
{ KEY_END, SEL_END }, | { KEY_END, SEL_END }, | ||||
{ 'G', SEL_END }, | { 'G', SEL_END }, | ||||
{ CONTROL('E'), SEL_END }, | { CONTROL('E'), SEL_END }, | ||||
{ '$', SEL_END }, | |||||
/* HOME */ | /* HOME */ | ||||
{ '~', SEL_CDHOME }, | { '~', SEL_CDHOME }, | ||||
/* Initial directory */ | /* Initial directory */ | ||||