Revert to key m to Mark range

This commit is contained in:
Arun Prakash Jana 2020-01-13 22:24:55 +05:30
parent 8f4706498c
commit 7029656c78
No known key found for this signature in database
GPG key ID: A75979F35C080412
2 changed files with 3 additions and 5 deletions

View file

@ -3607,7 +3607,7 @@ static void show_help(const char *path)
"b^R Rename/dup%-14cr Batch rename\n"
"cz Archive entry%-11c* Toggle exe\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"
"cV Move sel here%-10c^V Copy/move sel as\n"
"cX Delete sel%-13c^X Delete entry\n"

View file

@ -180,17 +180,16 @@ static struct key bindings[] = {
{ CONTROL('T'), SEL_ORDER },
/* Redraw window */
{ CONTROL('L'), SEL_REDRAW },
{ KEY_F(5), SEL_REDRAW },
/* Select current file path */
{ CONTROL('J'), SEL_SEL },
{ ' ', SEL_SEL },
/* Toggle select multiple files */
{ '\'', SEL_SELMUL },
{ 'm', SEL_SELMUL },
{ CONTROL('K'), SEL_SELMUL },
/* Select all files in current dir */
{ 'a', SEL_SELALL },
/* List, edit selection */
{ 'y', SEL_SELLIST },
{ CONTROL('Y'), SEL_SELLIST },
/* Copy from selection buffer */
{ 'P', SEL_CP },
/* Move from selection buffer */
@ -207,7 +206,6 @@ static struct key bindings[] = {
{ 'n', SEL_NEW },
/* Show rename prompt */
{ CONTROL('R'), SEL_RENAME },
{ KEY_F(2), SEL_RENAME },
/* Rename contents of current dir */
{ 'r', SEL_RENAMEMUL },
/* Connect to server over SSHFS */