commit 8ebedab3f6ff4b8e5f193a56552f8e62cad67ae6
parent 3ccc6807ed96d60342d2a58a3e02b7660d2e3957
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Tue, 14 Jan 2020 04:10:11 +0530
Fix doc
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/README.md b/plugins/README.md
@@ -65,7 +65,7 @@ Plugins are installed to `${XDG_CONFIG_HOME:-$HOME/.config}/nnn/plugins`.
## Invoking a plugin
-Use the plugin shortcut (<kbd>;key</kbd> or <kbd>;key</kbd>) to list the defined plugin keys and press the required key. E.g., with the below config:
+Use the plugin shortcut (<kbd>;key</kbd> or <kbd>^Pkey</kbd>) to list the defined plugin keys and press the required key. E.g., with the below config:
export NNN_PLUG='o:fzopen;p:mocplay;d:diffs;m:nmount;n:notes;v:imgviu;t:imgthumb'
diff --git a/src/nnn.c b/src/nnn.c
@@ -3617,7 +3617,7 @@ static void show_help(const char *path)
"9Q ^Q Quit%-20cq Quit context\n"
"1FILES\n"
"b^O Open with...%-12cn Create new/link\n"
- "cD File details%-12cd Detail view toggle\n"
+ "b^F File details%-12cd Detail view toggle\n"
"b^R Rename/dup%-14cr Batch rename\n"
"cz Archive entry%-11c* Toggle exe\n"
"5Space ^J (Un)select%-11cm ^K Mark range/clear\n"
diff --git a/src/nnn.h b/src/nnn.h
@@ -168,7 +168,7 @@ static struct key bindings[] = {
/* Detailed listing */
{ 'd', SEL_DETAIL },
/* File details */
- { 'D', SEL_STATS },
+ { CONTROL('F'), SEL_STATS },
/* Toggle executable status */
{ '*', SEL_CHMODX },
/* Create archive */