Revert to ] key

This commit is contained in:
Arun Prakash Jana 2019-12-10 01:27:51 +05:30
parent 6582855412
commit 8dd1946d1d
No known key found for this signature in database
GPG key ID: A75979F35C080412
3 changed files with 4 additions and 4 deletions

View file

@ -234,7 +234,7 @@ The list below is from the **dev branch**. Press <kbd>?</kbd> in `nnn` to see th
C Execute entry R ^V Pick plugin C Execute entry R ^V Pick plugin
s Manage session = Launch app s Manage session = Launch app
c Connect remote u Unmount c Connect remote u Unmount
\ ^P Prompt/run cmd L Lock ] ^P Prompt/run cmd L Lock
``` ```
Notes: Notes:

View file

@ -2074,7 +2074,7 @@ static int filterentries(char *path)
if (r == OK) { if (r == OK) {
/* Handle all control chars in main loop */ /* Handle all control chars in main loop */
if ((*ch < ASCII_MAX && keyname(*ch)[0] == '^' && *ch != '^') if ((*ch < ASCII_MAX && keyname(*ch)[0] == '^' && *ch != '^')
|| (*ch == '\\' && len == 1)) { || (*ch == ']' && len == 1)) {
DPRINTF_D(*ch); DPRINTF_D(*ch);
DPRINTF_S(keyname(*ch)); DPRINTF_S(keyname(*ch));
@ -3517,7 +3517,7 @@ static void show_help(const char *path)
"cC Execute entry R ^V Pick plugin\n" "cC Execute entry R ^V Pick plugin\n"
"cs Manage session = Launch app\n" "cs Manage session = Launch app\n"
"cc Connect remote u Unmount\n" "cc Connect remote u Unmount\n"
"9\\ ^P Prompt/run cmd L Lock\n"}; "9] ^P Prompt/run cmd L Lock\n"};
fd = create_tmp_file(); fd = create_tmp_file();
if (fd == -1) if (fd == -1)

View file

@ -257,7 +257,7 @@ static struct key bindings[] = {
/* Launcher */ /* Launcher */
{ '=', SEL_LAUNCH }, { '=', SEL_LAUNCH },
/* Run a command */ /* Run a command */
{ '\\', SEL_RUNCMD }, { ']', SEL_RUNCMD },
{ CONTROL('P'), SEL_RUNCMD }, { CONTROL('P'), SEL_RUNCMD },
/* Open in EDITOR or PAGER */ /* Open in EDITOR or PAGER */
{ 'e', SEL_RUNEDIT }, { 'e', SEL_RUNEDIT },