aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-17 08:31:47 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-17 08:31:47 +0530
commit80371258a12e05568f9eb428fb7076f6663f9c48 (patch)
treee597749e220ac61c333c9648966f6eb87acd7f49 /src
parent229b1eba91203398306f36832563e4b6fefa41ad (diff)
downloadnnn-80371258a12e05568f9eb428fb7076f6663f9c48.tar.gz
Switch X and ^X key functionality
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c4
-rw-r--r--src/nnn.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 5b226b0..6e9cd9c 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -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"
diff --git a/src/nnn.h b/src/nnn.h
index f001d9b..d4e0506 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -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 */