aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-14 20:08:30 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-14 20:08:30 +0530
commitff0999b8018fe208ca1e49c47cec094fcc9a1e08 (patch)
treea39a0fe789f3c734092bb49163219e6ad24e816b /src
parentce0a9a6ab31e1a5a255b779590c6c482ead5ea28 (diff)
downloadnnn-ff0999b8018fe208ca1e49c47cec094fcc9a1e08.tar.gz
Change visit pinned dir key to ^B.
^V does not work while working on Windows. It is intercepted as paste.
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c2
-rw-r--r--src/nnn.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 252781f..1bc9385 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -1964,7 +1964,7 @@ static int show_help(char *path)
"1←, Bksp, h, ^H Parent dir - Last visited dir\n"
"4→, ↵, l, ^M Open file/enter dir . Toggle show hidden\n"
"e/ Filter Ins, ^I Toggle nav-as-you-type\n"
- "eb Pin current dir ^V Go to pinned dir\n"
+ "eb Pin current dir ^B Go to pinned dir\n"
"a`, ^/ Leader key LeaderN Switch to context N\n"
"cEsc Exit prompt ^L Redraw, clear prompt\n"
"d^G Quit and cd q Quit context\n"
diff --git a/src/nnn.h b/src/nnn.h
index 9e2ce90..e79c43c 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -155,7 +155,7 @@ static struct key bindings[] = {
/* Mark a path to visit later */
{ 'b', SEL_PIN, "", "" },
/* Visit marked directory */
- { CONTROL('V'), SEL_VISIT, "", "" },
+ { CONTROL('B'), SEL_VISIT, "", "" },
/* Filter */
{ '/', SEL_FLTR, "", "" },
/* Toggle filter mode */