diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-01-13 22:24:55 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-01-13 22:24:55 +0530 |
commit | 7029656c780b9a3b585b4004b0f6d0b3c2a5e99e (patch) | |
tree | 94f6d1fd28261b5550d7490e244bc056a69b3a2e /src | |
parent | 8f4706498c66d64a5074c6f03a66d7365b6cc0e6 (diff) | |
download | nnn-7029656c780b9a3b585b4004b0f6d0b3c2a5e99e.tar.gz |
Revert to key m to Mark range
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 2 | ||||
-rw-r--r-- | src/nnn.h | 6 |
2 files changed, 3 insertions, 5 deletions
@@ -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" @@ -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 */ |