aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-14 03:00:01 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-14 03:00:01 +0530
commit62ae7e0a743f91033382909d64e47b60098c9142 (patch)
treedbe99c1ee86f573e38bd90459d99b751a65d68ec
parent5bc20f1460ddf02e778c1670c249655c6e3168e8 (diff)
downloadnnn-62ae7e0a743f91033382909d64e47b60098c9142.tar.gz
Key 0 to lock
-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 c9f6f51..51c407a 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3608,7 +3608,7 @@ static void show_help(const char *path)
"9Lt h Parent%-12c~ ` @ - HOME, /, start, last\n"
"5Ret Rt l Open%-20cf First file\n"
"9g ^A Top%-21c. Toggle hidden\n"
- "9G ^E End%-21cL Lock terminal\n"
+ "9G ^E End%-21c0 Lock terminal\n"
"9b ^/ Bookmark key%-12c, Pin CWD\n"
"a1-4 Context 1-4%-7c(Sh)Tab Cycle context\n"
"c/ Filter%-17c^N Nav-as-you-type toggle\n"
diff --git a/src/nnn.h b/src/nnn.h
index efa426b..c8f9750 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -223,7 +223,7 @@ static struct key bindings[] = {
/* Run a command */
{ ']', SEL_RUNCMD },
/* Lock screen */
- { 'L', SEL_LOCK },
+ { '0', SEL_LOCK },
/* Quit a context */
{ 'q', SEL_QUITCTX },
/* Change dir on quit */