diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-01-19 13:09:46 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-01-19 13:09:46 +0530 |
commit | 5f581ff20a2aac0b4ea0a4cdb0f460df721d28f5 (patch) | |
tree | 2890f459a23e54effa8e5d344ee906442fdbbfe0 /src/nnn.h | |
parent | 5e4810b382e1c4bb64893d45c28333898f787cca (diff) | |
download | nnn-5f581ff20a2aac0b4ea0a4cdb0f460df721d28f5.tar.gz |
Key N to switch to context N
Diffstat (limited to 'src/nnn.h')
-rw-r--r-- | src/nnn.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -50,6 +50,10 @@ enum action { SEL_CDLAST, SEL_LEADER, SEL_CYCLE, + SEL_CTX1, + SEL_CTX2, + SEL_CTX3, + SEL_CTX4, SEL_PIN, SEL_VISIT, SEL_FLTR, @@ -145,6 +149,11 @@ static struct key bindings[] = { /* Cycle contexts in forward direction */ { '\t', SEL_CYCLE }, { CONTROL('I'), SEL_CYCLE }, + /* Go to/create context N */ + { '1', SEL_CTX1 }, + { '2', SEL_CTX2 }, + { '3', SEL_CTX3 }, + { '4', SEL_CTX4 }, /* Mark a path to visit later */ { 'b', SEL_PIN }, /* Visit marked directory */ |