aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.h
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-25 22:18:36 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-25 22:18:36 +0530
commit06920d7d9dff2a8f00f5aaf7d657109219fe2edf (patch)
treea546cc5dea783aded5eb4bdcd3cddee88fe778a0 /src/nnn.h
parentd65ccfab1e165a713b63b37e968aa905907e98b2 (diff)
downloadnnn-06920d7d9dff2a8f00f5aaf7d657109219fe2edf.tar.gz
Revert "Fix #420: reduce Lead key to bookmark key"
Diffstat (limited to 'src/nnn.h')
-rw-r--r--src/nnn.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nnn.h b/src/nnn.h
index 0a91746..8a495d1 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -53,13 +53,13 @@ enum action {
SEL_CDLAST,
SEL_CDROOT,
SEL_VISIT,
+ SEL_LEADER,
SEL_CYCLE,
SEL_CYCLER,
SEL_CTX1,
SEL_CTX2,
SEL_CTX3,
SEL_CTX4,
- SEL_BOOKMARK,
SEL_PIN,
SEL_FLTR,
SEL_MFLTR,
@@ -157,6 +157,9 @@ static struct key bindings[] = {
{ '`', SEL_CDROOT },
/* Visit marked directory */
{ CONTROL('B'), SEL_VISIT },
+ /* Leader key */
+ { CONTROL('_'), SEL_LEADER },
+ { ',', SEL_LEADER },
/* Cycle contexts in forward direction */
{ '\t', SEL_CYCLE },
/* Cycle contexts in reverse direction */
@@ -166,9 +169,6 @@ static struct key bindings[] = {
{ '2', SEL_CTX2 },
{ '3', SEL_CTX3 },
{ '4', SEL_CTX4 },
- /* Bookmark key */
- { CONTROL('_'), SEL_BOOKMARK },
- { ',', SEL_BOOKMARK },
/* Mark a path to visit later */
{ 'b', SEL_PIN },
/* Filter */