Replace backquote with comma as leader key

This commit is contained in:
Arun Prakash Jana 2019-02-05 23:58:13 +05:30
parent 336eca300a
commit f21ec611cd
No known key found for this signature in database
GPG key ID: A75979F35C080412
4 changed files with 4 additions and 4 deletions

View file

@ -226,7 +226,7 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
/ Filter Ins ^T Toggle nav-as-you-type
b Pin current dir ^B Go to pinned dir
Tab ^I Next context d Toggle detail view
` ^/ Leader key N LeadN Go to/create context N
, ^/ Leader key N LeadN Go to/create context N
Esc Exit prompt ^L Redraw/clear prompt
^G Quit and cd q Quit context
Q ^Q Quit ? Help, config

2
nnn.1
View file

@ -65,7 +65,7 @@ Visit pinned directory
Toggle detail view
.It Ic Tab, ^I
Next context, ask to create if none
.It Ic `, ^/
.It Ic ,, ^/
Leader key
.It Ic N, LeaderN
Switch to context N

View file

@ -2382,7 +2382,7 @@ static bool show_help(char *path)
"c/ Filter Ins ^T Toggle nav-as-you-type\n"
"cb Pin current dir ^B Go to pinned dir\n"
"7Tab ^I Next context d Toggle detail view\n"
"9` ^/ Leader key N LeadN Go to/create context N\n"
"9, ^/ Leader key N LeadN Go to/create context N\n"
"aEsc Exit prompt ^L Redraw/clear prompt\n"
"b^G Quit and cd q Quit context\n"
"9Q ^Q Quit ? Help, config\n"

View file

@ -143,7 +143,7 @@ static struct key bindings[] = {
{ CONTROL('B'), SEL_VISIT },
/* Leader key */
{ CONTROL('_'), SEL_LEADER },
{ '`', SEL_LEADER },
{ ',', SEL_LEADER },
/* Cycle contexts in forward direction */
{ '\t', SEL_CYCLE },
{ CONTROL('I'), SEL_CYCLE },