diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-04-12 20:21:48 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-04-12 20:36:23 +0530 |
commit | 33365dea52c2491837a9ece847743bf081c44bf0 (patch) | |
tree | 4c560ca3f567f88a4a4568e7519fea4a9cb3b2e7 /src/nnn.h | |
parent | 3e4797f7289e16c61cf5af9abdec456e0049c67d (diff) | |
download | nnn-33365dea52c2491837a9ece847743bf081c44bf0.tar.gz |
Shortcut to visit root
Diffstat (limited to 'src/nnn.h')
-rw-r--r-- | src/nnn.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 */ |