aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.h
diff options
context:
space:
mode:
authorGravatar KlzXS <azszwymmvqdi@yahoo.com>2019-10-10 15:07:16 +0200
committerGravatar Mischievous Meerkat <engineerarun@gmail.com>2019-10-10 18:37:16 +0530
commitb7c2ce741a207f82a51443b49d953508e64165e4 (patch)
tree717773d95c3e2d19917449b6f16572ff63aeb5f9 /src/nnn.h
parent7965fa1b0d4bda1c7ef761265ac75af3a37eb448 (diff)
downloadnnn-b7c2ce741a207f82a51443b49d953508e64165e4.tar.gz
Implemented edit selection buffer (#345)
* Implemented edit selection buffer * Added checks and changed keybind * Forgot check and style fixes * Don't work late at night again You forget things when you're tired
Diffstat (limited to 'src/nnn.h')
-rw-r--r--src/nnn.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nnn.h b/src/nnn.h
index 19a9587..241e16e 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -79,6 +79,7 @@ enum action {
SEL_SELMUL,
SEL_SELALL,
SEL_SELLST,
+ SEL_SELEDIT,
SEL_CP,
SEL_MV,
SEL_RMMUL,
@@ -209,6 +210,8 @@ static struct key bindings[] = {
{ 'a', SEL_SELALL },
/* Show list of copied files */
{ 'M', SEL_SELLST },
+ /* Edit selection buffer */
+ { 'K', SEL_SELEDIT },
/* Copy from selection buffer */
{ 'P', SEL_CP },
/* Move from selection buffer */