aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-14 04:10:11 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-14 04:10:11 +0530
commit8ebedab3f6ff4b8e5f193a56552f8e62cad67ae6 (patch)
tree2227ebf8176cddfe43944c727b4020de00c32525
parent3ccc6807ed96d60342d2a58a3e02b7660d2e3957 (diff)
downloadnnn-8ebedab3f6ff4b8e5f193a56552f8e62cad67ae6.tar.gz
Fix doc
-rw-r--r--plugins/README.md2
-rw-r--r--src/nnn.c2
-rw-r--r--src/nnn.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/README.md b/plugins/README.md
index 3268c38..1433e11 100644
--- 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
index 77a2a1c..e4e2820 100644
--- 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
index 65967a2..d5f353d 100644
--- 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 */