aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-15 19:04:14 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-15 19:04:14 +0530
commit229b1eba91203398306f36832563e4b6fefa41ad (patch)
tree5d8bd18137aba83498a23a06839e21c1bc99e5b4 /src
parentdbac97f893fcb2038810c39d523801302f6b739c (diff)
downloadnnn-229b1eba91203398306f36832563e4b6fefa41ad.tar.gz
Use ^W to visit pinned directory.
Turns out ^B is also intercepted by Windows.
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 e59789f..5b226b0 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 ^B Go to pinned dir\n"
+ "eb Pin current dir ^W 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 e79c43c..f001d9b 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('B'), SEL_VISIT, "", "" },
+ { CONTROL('W'), SEL_VISIT, "", "" },
/* Filter */
{ '/', SEL_FLTR, "", "" },
/* Toggle filter mode */