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 (;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 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 */