From 8ebedab3f6ff4b8e5f193a56552f8e62cad67ae6 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 14 Jan 2020 04:10:11 +0530 Subject: [PATCH] Fix doc --- plugins/README.md | 2 +- src/nnn.c | 2 +- src/nnn.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/README.md b/plugins/README.md index 3268c388..1433e11f 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 (;key or ;key) to list the defined plugin keys and press the required key. E.g., with the below config: +Use the plugin shortcut (;key or ^Pkey) 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 77a2a1c5..e4e28200 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 65967a20..d5f353d6 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 */