diff --git a/src/nnn.c b/src/nnn.c index 1b087f60..251973d0 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -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" diff --git a/src/nnn.h b/src/nnn.h index 10bf9cf9..930b8243 100644 --- a/src/nnn.h +++ b/src/nnn.h @@ -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 */