aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rw-r--r--nnn.14
-rw-r--r--src/nnn.c4
-rw-r--r--src/nnn.h4
4 files changed, 8 insertions, 8 deletions
diff --git a/README.md b/README.md
index 11646fd..82c7832 100644
--- a/README.md
+++ b/README.md
@@ -228,8 +228,8 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
^R Rename entry r Open dir in vidir
^Y Toggle selection y List selection
⎵, ^K Copy entry path ^T Toggle path quote
- P Copy selection ^X Delete selection
- V Move selection X Delete entry
+ P Copy selection X Delete selection
+ V Move selection ^X Delete entry
f Archive entry F List archive
^F Extract archive m, M Brief/full media info
e Edit in EDITOR p Open in PAGER
diff --git a/nnn.1 b/nnn.1
index 19aa7d5..d2c29a9 100644
--- a/nnn.1
+++ b/nnn.1
@@ -108,9 +108,9 @@ Toggle path quote
Copy files from selection
.It Ic V
Move files from selection
-.It Ic ^X
-Delete files from selection
.It Ic X
+Delete files from selection
+.It Ic ^X
Delete entry
.It Ic f
Archive entry
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 */