keybind to pin current dir - b

This commit is contained in:
Arun Prakash Jana 2018-01-17 19:32:22 +05:30
parent e359f60294
commit cbfeec5625
No known key found for this signature in database
GPG Key ID: A75979F35C080412
4 changed files with 4 additions and 4 deletions

View File

@ -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
View File

@ -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
View File

@ -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
View File

@ -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 */