You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1013 B

commit e091d1a436d1af057b4d551901dcfed6f2c77b64
Author: K <matf@disr.it>
Date: Wed Dec 29 01:45:45 2021 +0100
Remove easy-delete on X
diff --git a/src/nnn.c b/src/nnn.c
index a0fafe9..5585683 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -5034,7 +5034,7 @@ static void show_help(const char *path)
"ca Select all%-14cA Invert sel\n"
"9p ^P Copy here%-12cw ^W Cp/mv sel as\n"
"9v ^V Move here%-15cE Edit sel list\n"
- "9x ^X Delete%-16cEsc Send to FIFO\n"
+ "b^X Delete%-16cEsc Send to FIFO\n"
"0\n"
"1MISC\n"
"8Alt ; Select plugin%-11c= Launch app\n"
diff --git a/src/nnn.h b/src/nnn.h
index 969419b..1e490b2 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -232,7 +232,6 @@ static struct key bindings[] = {
{ 'w', SEL_CPMVAS },
{ CONTROL('W'), SEL_CPMVAS },
/* Delete from selection buffer */
- { 'x', SEL_RM },
{ CONTROL('X'), SEL_RM },
/* Open in a custom application */
{ 'o', SEL_OPENWITH },