aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.h
diff options
context:
space:
mode:
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 2104ede..839ec0c 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -48,6 +48,7 @@ enum action {
SEL_CDHOME,
SEL_CDBEGIN,
SEL_CDLAST,
+ SEL_CDROOT,
SEL_VISIT,
SEL_LEADER,
SEL_CYCLE,
@@ -141,6 +142,8 @@ static struct key bindings[] = {
{ '@', SEL_CDBEGIN },
/* Last visited dir */
{ '-', SEL_CDLAST },
+ /* Go to / */
+ { '`', SEL_CDROOT },
/* Visit marked directory */
{ CONTROL('B'), SEL_VISIT },
/* Leader key */