mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
keybind to pin current dir - b
This commit is contained in:
parent
e359f60294
commit
cbfeec5625
|
@ -227,7 +227,7 @@ optional arguments:
|
||||||
^/ | Open desktop search tool
|
^/ | Open desktop search tool
|
||||||
. | Toggle hide . files
|
. | Toggle hide . files
|
||||||
^B | Bookmark prompt
|
^B | Bookmark prompt
|
||||||
B | Pin current dir
|
b | Pin current dir
|
||||||
^V | Go to pinned dir
|
^V | Go to pinned dir
|
||||||
c | Change dir prompt
|
c | Change dir prompt
|
||||||
d | Toggle detail view
|
d | Toggle detail view
|
||||||
|
|
2
nnn.1
2
nnn.1
|
@ -64,7 +64,7 @@ Search directory in desktop search tool
|
||||||
Toggle hide .dot files
|
Toggle hide .dot files
|
||||||
.It Ic ^B
|
.It Ic ^B
|
||||||
Show bookmark key prompt
|
Show bookmark key prompt
|
||||||
.It Ic B
|
.It Ic b
|
||||||
Pin current directory
|
Pin current directory
|
||||||
.It Ic ^V
|
.It Ic ^V
|
||||||
Visit pinned directory
|
Visit pinned directory
|
||||||
|
|
2
nnn.c
2
nnn.c
|
@ -1823,7 +1823,7 @@ show_help(char *path)
|
||||||
"d^/ | Open desktop search tool\n"
|
"d^/ | Open desktop search tool\n"
|
||||||
"e. | Toggle hide . files\n"
|
"e. | Toggle hide . files\n"
|
||||||
"d^B | Bookmark prompt\n"
|
"d^B | Bookmark prompt\n"
|
||||||
"eB | Pin current dir\n"
|
"eb | Pin current dir\n"
|
||||||
"d^V | Go to pinned dir\n"
|
"d^V | Go to pinned dir\n"
|
||||||
"ec | Change dir prompt\n"
|
"ec | Change dir prompt\n"
|
||||||
"ed | Toggle detail view\n"
|
"ed | Toggle detail view\n"
|
||||||
|
|
2
nnn.h
2
nnn.h
|
@ -109,7 +109,7 @@ static struct key bindings[] = {
|
||||||
/* Change dir using bookmark */
|
/* Change dir using bookmark */
|
||||||
{ CONTROL('B'), SEL_CDBM, "", "" },
|
{ CONTROL('B'), SEL_CDBM, "", "" },
|
||||||
/* Mark a path to visit later */
|
/* Mark a path to visit later */
|
||||||
{ 'B', SEL_PIN, "", "" },
|
{ 'b', SEL_PIN, "", "" },
|
||||||
/* Visit marked directory */
|
/* Visit marked directory */
|
||||||
{ CONTROL('V'), SEL_VISIT, "", "" },
|
{ CONTROL('V'), SEL_VISIT, "", "" },
|
||||||
/* Filter */
|
/* Filter */
|
||||||
|
|
Loading…
Reference in a new issue