From 62ae7e0a743f91033382909d64e47b60098c9142 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 14 Jan 2020 03:00:01 +0530 Subject: [PATCH] Key 0 to lock --- src/nnn.c | 2 +- src/nnn.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nnn.c b/src/nnn.c index c9f6f51e..51c407a5 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 efa426b7..c8f97504 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 */