mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Shortcut mapping: S for du, A for apparent du
This commit is contained in:
parent
684a90a0fb
commit
e4c14ee13c
|
@ -257,7 +257,7 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
|
||||||
^F Extract archive F List archive
|
^F Extract archive F List archive
|
||||||
e Edit in EDITOR p Open in PAGER
|
e Edit in EDITOR p Open in PAGER
|
||||||
ORDER TOGGLES
|
ORDER TOGGLES
|
||||||
^J du S Apparent du
|
S du A Apparent du
|
||||||
s Size E Extn t Time modified
|
s Size E Extn t Time modified
|
||||||
MISC
|
MISC
|
||||||
! ^] Shell ^N Note L Lock
|
! ^] Shell ^N Note L Lock
|
||||||
|
|
|
@ -2786,7 +2786,7 @@ static bool show_help(const char *path)
|
||||||
"b^F Extract archive F List archive\n"
|
"b^F Extract archive F List archive\n"
|
||||||
"ce Edit in EDITOR p Open in PAGER\n"
|
"ce Edit in EDITOR p Open in PAGER\n"
|
||||||
"1ORDER TOGGLES\n"
|
"1ORDER TOGGLES\n"
|
||||||
"b^J du S Apparent du\n"
|
"cS du A Apparent du\n"
|
||||||
"cs Size E Extn t Time modified\n"
|
"cs Size E Extn t Time modified\n"
|
||||||
"1MISC\n"
|
"1MISC\n"
|
||||||
"9! ^] Shell ^N Note L Lock \n"
|
"9! ^] Shell ^N Note L Lock \n"
|
||||||
|
|
|
@ -185,9 +185,9 @@ static struct key bindings[] = {
|
||||||
/* Toggle sort by size */
|
/* Toggle sort by size */
|
||||||
{ 's', SEL_FSIZE },
|
{ 's', SEL_FSIZE },
|
||||||
/* Sort by apparent size including dir contents */
|
/* Sort by apparent size including dir contents */
|
||||||
{ 'S', SEL_ASIZE },
|
{ 'A', SEL_ASIZE },
|
||||||
/* Sort by total block count including dir contents */
|
/* Sort by total block count including dir contents */
|
||||||
{ CONTROL('J'), SEL_BSIZE },
|
{ 'S', SEL_BSIZE },
|
||||||
/* Sort by file extension */
|
/* Sort by file extension */
|
||||||
{ 'E', SEL_EXTN },
|
{ 'E', SEL_EXTN },
|
||||||
/* Toggle sort by time */
|
/* Toggle sort by time */
|
||||||
|
|
Loading…
Reference in a new issue