diff options
author | 2018-11-12 03:36:37 +0530 | |
---|---|---|
committer | 2018-11-12 03:37:17 +0530 | |
commit | 784ed6fefed5bbfb02e683df928fe238be9a180c (patch) | |
tree | 4ab40f927b139325930f42ab1ff2be2dc45943c8 /src | |
parent | 81380ff8d474dfa71a9d7ac914a27779c8caaf02 (diff) | |
download | nnn-784ed6fefed5bbfb02e683df928fe238be9a180c.tar.gz |
Use the term Leader key
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 4 | ||||
-rw-r--r-- | src/nnn.h | 3 |
2 files changed, 4 insertions, 3 deletions
@@ -1371,7 +1371,7 @@ static int parsebmstr() ++bms; /* - * Use single-char keys to use ^B like vim Leader key. + * Use single-char keys to combine with Leader key. * Fail here to ensure keys are single char. * To support multiple char keys remove the return * and add appropriate check to enable smart-detect. @@ -1976,7 +1976,7 @@ static int show_help(char *path) "4→, ↵, l, ^M Open file/enter dir . Toggle show hidden\n" "e/ Filter Ins, ^I Toggle nav-as-you-type\n" "eb Pin current dir ^V Go to pinned dir\n" - "d^B Leader key LeaderN Switch to context N\n" + "a`, ^/ Leader key LeaderN Switch to context N\n" "cEsc Exit prompt ^L Redraw, clear prompt\n" "d^G Quit and cd q Quit context\n" "aQ, ^Q Quit ? Help, settings\n" @@ -150,7 +150,8 @@ static struct key bindings[] = { /* Last visited dir */ { '-', SEL_CDLAST, "", "" }, /* Leader key */ - { CONTROL('B'), SEL_LEADER, "", "" }, + { CONTROL('_'), SEL_LEADER, "", "" }, + { '`', SEL_LEADER, "", "" }, /* Mark a path to visit later */ { 'b', SEL_PIN, "", "" }, /* Visit marked directory */ |