diff options
| author | 2019-12-10 01:27:51 +0530 | |
|---|---|---|
| committer | 2019-12-10 01:27:51 +0530 | |
| commit | 8dd1946d1d88d974de3424ac96061cbdd557f480 (patch) | |
| tree | 4492858570e46067c18060ab62eece7fca03d6a5 /src | |
| parent | 658285541265f1f8933b5125ac742596491d8329 (diff) | |
| download | nnn-8dd1946d1d88d974de3424ac96061cbdd557f480.tar.gz | |
Revert to ] key
Diffstat (limited to 'src')
| -rw-r--r-- | src/nnn.c | 4 | ||||
| -rw-r--r-- | src/nnn.h | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -2074,7 +2074,7 @@ static int filterentries(char *path) if (r == OK) { /* Handle all control chars in main loop */ if ((*ch < ASCII_MAX && keyname(*ch)[0] == '^' && *ch != '^') - || (*ch == '\\' && len == 1)) { + || (*ch == ']' && len == 1)) { DPRINTF_D(*ch); DPRINTF_S(keyname(*ch)); @@ -3517,7 +3517,7 @@ static void show_help(const char *path) "cC Execute entry R ^V Pick plugin\n" "cs Manage session = Launch app\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(); if (fd == -1) @@ -257,7 +257,7 @@ static struct key bindings[] = { /* Launcher */ { '=', SEL_LAUNCH }, /* Run a command */ - { '\\', SEL_RUNCMD }, + { ']', SEL_RUNCMD }, { CONTROL('P'), SEL_RUNCMD }, /* Open in EDITOR or PAGER */ { 'e', SEL_RUNEDIT }, |