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