diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-02-23 20:13:04 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-02-23 20:13:04 +0530 |
commit | 42e36e85ee1e399495aca13f5d5dde70185bfac2 (patch) | |
tree | 77b04cabf3e7006178a27b770a7b336aff938279 /src | |
parent | 1a8df74749aa1b17f4c4cdba87448e7fe5ecc516 (diff) | |
download | nnn-42e36e85ee1e399495aca13f5d5dde70185bfac2.tar.gz |
Add key 'K' to toggle selection
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 2 | ||||
-rw-r--r-- | src/nnn.h | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -2420,7 +2420,7 @@ static bool show_help(char *path) "b^O Open with... n Create new/link\n" "cD File details ^R Rename entry\n" "9⎵ ^K Select entry r Open dir in vidir\n" - "b^Y Toggle selection y List selection\n" + "9K ^Y Toggle selection y List selection\n" "cY Select all\n" "cP Copy selection X Delete selection\n" "cV Move selection ^X Delete entry\n" @@ -189,6 +189,7 @@ static struct key bindings[] = { { CONTROL('K'), SEL_COPY }, { ' ', SEL_COPY }, /* Toggle copy multiple file paths */ + { 'K', SEL_COPYMUL }, { CONTROL('Y'), SEL_COPYMUL }, /* Select all files in current dir */ { 'Y', SEL_COPYALL }, |