mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Replace backquote with comma as leader key
This commit is contained in:
parent
336eca300a
commit
f21ec611cd
|
@ -226,7 +226,7 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
|
||||||
/ Filter Ins ^T Toggle nav-as-you-type
|
/ Filter Ins ^T Toggle nav-as-you-type
|
||||||
b Pin current dir ^B Go to pinned dir
|
b Pin current dir ^B Go to pinned dir
|
||||||
Tab ^I Next context d Toggle detail view
|
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
|
Esc Exit prompt ^L Redraw/clear prompt
|
||||||
^G Quit and cd q Quit context
|
^G Quit and cd q Quit context
|
||||||
Q ^Q Quit ? Help, config
|
Q ^Q Quit ? Help, config
|
||||||
|
|
2
nnn.1
2
nnn.1
|
@ -65,7 +65,7 @@ Visit pinned directory
|
||||||
Toggle detail view
|
Toggle detail view
|
||||||
.It Ic Tab, ^I
|
.It Ic Tab, ^I
|
||||||
Next context, ask to create if none
|
Next context, ask to create if none
|
||||||
.It Ic `, ^/
|
.It Ic ,, ^/
|
||||||
Leader key
|
Leader key
|
||||||
.It Ic N, LeaderN
|
.It Ic N, LeaderN
|
||||||
Switch to context N
|
Switch to context N
|
||||||
|
|
|
@ -2382,7 +2382,7 @@ static bool show_help(char *path)
|
||||||
"c/ Filter Ins ^T Toggle nav-as-you-type\n"
|
"c/ Filter Ins ^T Toggle nav-as-you-type\n"
|
||||||
"cb Pin current dir ^B Go to pinned dir\n"
|
"cb Pin current dir ^B Go to pinned dir\n"
|
||||||
"7Tab ^I Next context d Toggle detail view\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"
|
"aEsc Exit prompt ^L Redraw/clear prompt\n"
|
||||||
"b^G Quit and cd q Quit context\n"
|
"b^G Quit and cd q Quit context\n"
|
||||||
"9Q ^Q Quit ? Help, config\n"
|
"9Q ^Q Quit ? Help, config\n"
|
||||||
|
|
|
@ -143,7 +143,7 @@ static struct key bindings[] = {
|
||||||
{ CONTROL('B'), SEL_VISIT },
|
{ CONTROL('B'), SEL_VISIT },
|
||||||
/* Leader key */
|
/* Leader key */
|
||||||
{ CONTROL('_'), SEL_LEADER },
|
{ CONTROL('_'), SEL_LEADER },
|
||||||
{ '`', SEL_LEADER },
|
{ ',', SEL_LEADER },
|
||||||
/* Cycle contexts in forward direction */
|
/* Cycle contexts in forward direction */
|
||||||
{ '\t', SEL_CYCLE },
|
{ '\t', SEL_CYCLE },
|
||||||
{ CONTROL('I'), SEL_CYCLE },
|
{ CONTROL('I'), SEL_CYCLE },
|
||||||
|
|
Loading…
Reference in a new issue