diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2018-11-17 08:31:47 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2018-11-17 08:31:47 +0530 |
commit | 80371258a12e05568f9eb428fb7076f6663f9c48 (patch) | |
tree | e597749e220ac61c333c9648966f6eb87acd7f49 /src | |
parent | 229b1eba91203398306f36832563e4b6fefa41ad (diff) | |
download | nnn-80371258a12e05568f9eb428fb7076f6663f9c48.tar.gz |
Switch X and ^X key functionality
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 4 | ||||
-rw-r--r-- | src/nnn.h | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -1975,8 +1975,8 @@ static int show_help(char *path) "d^R Rename entry r Open dir in vidir\n" "d^Y Toggle selection y List selection\n" "a⎵, ^K Copy entry path ^T Toggle path quote\n" - "eP Copy selection ^X Delete selection\n" - "eV Move selection X Delete entry\n" + "eP Copy selection X Delete selection\n" + "eV Move selection ^X Delete entry\n" "ef Archive entry F List archive\n" "d^F Extract archive m, M Brief/full media info\n" "ee Edit in EDITOR p Open in PAGER\n" @@ -202,9 +202,9 @@ static struct key bindings[] = { /* Move from copy buffer */ { 'V', SEL_MV, "", "" }, /* Delete from copy buffer */ - { CONTROL('X'), SEL_RMMUL, "", "" }, + { 'X', SEL_RMMUL, "", "" }, /* Delete currently selected */ - { 'X', SEL_RM, "", "" }, + { CONTROL('X'), SEL_RM, "", "" }, /* Toggle quote on while copy */ { CONTROL('T'), SEL_QUOTE, "", "" }, /* Open in a custom application */ |