mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
New keys: F2 (rename) F5 (redraw)
This commit is contained in:
parent
9b6ffeef5d
commit
871685f7ca
|
@ -243,12 +243,12 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
|
||||||
Tab ^I Next context d Toggle detail view
|
Tab ^I Next context d Toggle detail view
|
||||||
, ^/ Lead key N LeadN Context N
|
, ^/ Lead key N LeadN Context N
|
||||||
/ Filter/Lead Ins ^T Toggle nav-as-you-type
|
/ Filter/Lead Ins ^T Toggle nav-as-you-type
|
||||||
Esc Exit prompt ^L Redraw/clear prompt
|
Esc Exit prompt ^L F5 Redraw/clear prompt
|
||||||
q Quit context Lead' First file
|
q Quit context Lead' First file
|
||||||
Q ^Q Quit ^G QuitCD ? Help, config
|
Q ^Q Quit ^G QuitCD ? Help, config
|
||||||
FILES
|
FILES
|
||||||
^O Open with... n Create new/link
|
^O Open with... n Create new/link
|
||||||
D File details ^R Rename/duplicate
|
D File detail ^R F2 Rename/duplicate
|
||||||
⎵ ^K / Y Select entry/all r Batch rename
|
⎵ ^K / Y Select entry/all r Batch rename
|
||||||
K ^Y Toggle selection y List selection
|
K ^Y Toggle selection y List selection
|
||||||
P Copy selection X Delete selection
|
P Copy selection X Delete selection
|
||||||
|
|
|
@ -2829,12 +2829,12 @@ static bool show_help(const char *path)
|
||||||
"7Tab ^I Next context d Toggle detail view\n"
|
"7Tab ^I Next context d Toggle detail view\n"
|
||||||
"9, ^/ Lead key N LeadN Context N\n"
|
"9, ^/ Lead key N LeadN Context N\n"
|
||||||
"c/ Filter/Lead Ins ^T Toggle nav-as-you-type\n"
|
"c/ Filter/Lead Ins ^T Toggle nav-as-you-type\n"
|
||||||
"aEsc Exit prompt ^L Redraw/clear prompt\n"
|
"aEsc Exit prompt ^L F5 Redraw/clear prompt\n"
|
||||||
"cq Quit context Lead' First file\n"
|
"cq Quit context Lead' First file\n"
|
||||||
"9Q ^Q Quit ^G QuitCD ? Help, config\n"
|
"9Q ^Q Quit ^G QuitCD ? Help, config\n"
|
||||||
"1FILES\n"
|
"1FILES\n"
|
||||||
"b^O Open with... n Create new/link\n"
|
"b^O Open with... n Create new/link\n"
|
||||||
"cD File details ^R Rename/duplicate\n"
|
"cD File detail ^R F2 Rename/duplicate\n"
|
||||||
"5⎵ ^K / Y Select entry/all r Batch rename\n"
|
"5⎵ ^K / Y Select entry/all r Batch rename\n"
|
||||||
"9K ^Y Toggle selection y List selection\n"
|
"9K ^Y Toggle selection y List selection\n"
|
||||||
"cP Copy selection X Delete selection\n"
|
"cP Copy selection X Delete selection\n"
|
||||||
|
|
|
@ -200,6 +200,7 @@ static struct key bindings[] = {
|
||||||
{ 't', SEL_MTIME },
|
{ 't', SEL_MTIME },
|
||||||
/* Redraw window */
|
/* Redraw window */
|
||||||
{ CONTROL('L'), SEL_REDRAW },
|
{ CONTROL('L'), SEL_REDRAW },
|
||||||
|
{ KEY_F(5), SEL_REDRAW },
|
||||||
/* Copy currently selected file path */
|
/* Copy currently selected file path */
|
||||||
{ CONTROL('K'), SEL_SEL },
|
{ CONTROL('K'), SEL_SEL },
|
||||||
{ ' ', SEL_SEL },
|
{ ' ', SEL_SEL },
|
||||||
|
@ -224,7 +225,7 @@ static struct key bindings[] = {
|
||||||
{ 'n', SEL_NEW },
|
{ 'n', SEL_NEW },
|
||||||
/* Show rename prompt */
|
/* Show rename prompt */
|
||||||
{ CONTROL('R'), SEL_RENAME },
|
{ CONTROL('R'), SEL_RENAME },
|
||||||
{ KEY_F(2), SEL_RENAME }, // undocumented
|
{ KEY_F(2), SEL_RENAME },
|
||||||
/* Rename contents of current dir */
|
/* Rename contents of current dir */
|
||||||
{ 'r', SEL_RENAMEALL },
|
{ 'r', SEL_RENAMEALL },
|
||||||
/* Connect to server over SSHFS */
|
/* Connect to server over SSHFS */
|
||||||
|
|
Loading…
Reference in a new issue