Key 0 to lock

This commit is contained in:
Arun Prakash Jana 2020-01-14 03:00:01 +05:30
parent 5bc20f1460
commit 62ae7e0a74
No known key found for this signature in database
GPG key ID: A75979F35C080412
2 changed files with 2 additions and 2 deletions

View file

@ -3608,7 +3608,7 @@ static void show_help(const char *path)
"9Lt h Parent%-12c~ ` @ - HOME, /, start, last\n" "9Lt h Parent%-12c~ ` @ - HOME, /, start, last\n"
"5Ret Rt l Open%-20cf First file\n" "5Ret Rt l Open%-20cf First file\n"
"9g ^A Top%-21c. Toggle hidden\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" "9b ^/ Bookmark key%-12c, Pin CWD\n"
"a1-4 Context 1-4%-7c(Sh)Tab Cycle context\n" "a1-4 Context 1-4%-7c(Sh)Tab Cycle context\n"
"c/ Filter%-17c^N Nav-as-you-type toggle\n" "c/ Filter%-17c^N Nav-as-you-type toggle\n"

View file

@ -223,7 +223,7 @@ static struct key bindings[] = {
/* Run a command */ /* Run a command */
{ ']', SEL_RUNCMD }, { ']', SEL_RUNCMD },
/* Lock screen */ /* Lock screen */
{ 'L', SEL_LOCK }, { '0', SEL_LOCK },
/* Quit a context */ /* Quit a context */
{ 'q', SEL_QUITCTX }, { 'q', SEL_QUITCTX },
/* Change dir on quit */ /* Change dir on quit */