diff options
| author | 2019-01-29 23:40:27 +0530 | |
|---|---|---|
| committer | 2019-01-29 23:40:46 +0530 | |
| commit | cfb524ea5e1ecaa7c0eb0ab2fbb6675e298eb31d (patch) | |
| tree | fae02732c43f06653ab6e1cc447320c42c06342f | |
| parent | b1b1f90d113889559ce9f2569b6061d67180f8d4 (diff) | |
| download | nnn-cfb524ea5e1ecaa7c0eb0ab2fbb6675e298eb31d.tar.gz | |
Fix #200: bind ^P to show command prompt
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | nnn.1 | 4 | ||||
| -rw-r--r-- | src/nnn.c | 2 | ||||
| -rw-r--r-- | src/nnn.h | 2 |
4 files changed, 5 insertions, 5 deletions
@@ -243,7 +243,7 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime. MISC !, ^] Spawn SHELL in dir C Execute entry R, ^V Run custom script L Lock terminal - ^S Run a command N, ^N Take note + ^P Command prompt N, ^N Take note ``` Help & settings, file details, media info and archive listing are shown in the PAGER. Please use the PAGER-specific keys in these screens. @@ -150,8 +150,8 @@ Run or choose a custom script Lock terminal .It Ic N Take note -.It Ic ^S -Run a command +.It Ic ^P +Show command prompt .El .Pp Backing up one directory level will set the cursor position at the @@ -2298,7 +2298,7 @@ static bool show_help(char *path) "1MISC\n" "8!, ^] Spawn SHELL in dir C Execute entry\n" "8R, ^V Run custom script L Lock terminal\n" - "b^S Run a command N, ^N Take note\n"}; + "b^P Command prompt N, ^N Take note\n"}; if (fd == -1) return FALSE; @@ -219,7 +219,7 @@ static struct key bindings[] = { { 'R', SEL_SCRIPT }, { CONTROL('V'), SEL_SCRIPT }, /* Run a command */ - { CONTROL('S'), SEL_RUNCMD }, + { CONTROL('P'), SEL_RUNCMD }, /* Open in EDITOR or PAGER */ { 'e', SEL_RUNEDIT }, { 'p', SEL_RUNPAGE }, |