mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 02:49:44 +00:00
Revert to key m to Mark range
This commit is contained in:
parent
8f4706498c
commit
7029656c78
|
@ -3607,7 +3607,7 @@ static void show_help(const char *path)
|
||||||
"b^R Rename/dup%-14cr Batch rename\n"
|
"b^R Rename/dup%-14cr Batch rename\n"
|
||||||
"cz Archive entry%-11c* Toggle exe\n"
|
"cz Archive entry%-11c* Toggle exe\n"
|
||||||
"ce Edit in EDITOR%-10cp Open in PAGER\n"
|
"ce Edit in EDITOR%-10cp Open in PAGER\n"
|
||||||
"5Space ^J (Un)select%-11c' ^K Select range, clear\n"
|
"5Space ^J (Un)select%-11cm ^K Mark range/clear\n"
|
||||||
"cP Copy sel here%-11ca Select all\n"
|
"cP Copy sel here%-11ca Select all\n"
|
||||||
"cV Move sel here%-10c^V Copy/move sel as\n"
|
"cV Move sel here%-10c^V Copy/move sel as\n"
|
||||||
"cX Delete sel%-13c^X Delete entry\n"
|
"cX Delete sel%-13c^X Delete entry\n"
|
||||||
|
|
|
@ -180,17 +180,16 @@ static struct key bindings[] = {
|
||||||
{ CONTROL('T'), SEL_ORDER },
|
{ CONTROL('T'), SEL_ORDER },
|
||||||
/* Redraw window */
|
/* Redraw window */
|
||||||
{ CONTROL('L'), SEL_REDRAW },
|
{ CONTROL('L'), SEL_REDRAW },
|
||||||
{ KEY_F(5), SEL_REDRAW },
|
|
||||||
/* Select current file path */
|
/* Select current file path */
|
||||||
{ CONTROL('J'), SEL_SEL },
|
{ CONTROL('J'), SEL_SEL },
|
||||||
{ ' ', SEL_SEL },
|
{ ' ', SEL_SEL },
|
||||||
/* Toggle select multiple files */
|
/* Toggle select multiple files */
|
||||||
{ '\'', SEL_SELMUL },
|
{ 'm', SEL_SELMUL },
|
||||||
{ CONTROL('K'), SEL_SELMUL },
|
{ CONTROL('K'), SEL_SELMUL },
|
||||||
/* Select all files in current dir */
|
/* Select all files in current dir */
|
||||||
{ 'a', SEL_SELALL },
|
{ 'a', SEL_SELALL },
|
||||||
/* List, edit selection */
|
/* List, edit selection */
|
||||||
{ 'y', SEL_SELLIST },
|
{ CONTROL('Y'), SEL_SELLIST },
|
||||||
/* Copy from selection buffer */
|
/* Copy from selection buffer */
|
||||||
{ 'P', SEL_CP },
|
{ 'P', SEL_CP },
|
||||||
/* Move from selection buffer */
|
/* Move from selection buffer */
|
||||||
|
@ -207,7 +206,6 @@ 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 },
|
|
||||||
/* Rename contents of current dir */
|
/* Rename contents of current dir */
|
||||||
{ 'r', SEL_RENAMEMUL },
|
{ 'r', SEL_RENAMEMUL },
|
||||||
/* Connect to server over SSHFS */
|
/* Connect to server over SSHFS */
|
||||||
|
|
Loading…
Reference in a new issue