Browse Source

Revert to key m to Mark range

master
Arun Prakash Jana 5 years ago
parent
commit
7029656c78
No known key found for this signature in database GPG Key ID: A75979F35C080412
2 changed files with 3 additions and 5 deletions
  1. +1
    -1
      src/nnn.c
  2. +2
    -4
      src/nnn.h

+ 1
- 1
src/nnn.c 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"


+ 2
- 4
src/nnn.h 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 */


Loading…
Cancel
Save