]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix doc
authorArun Prakash Jana <engineerarun@gmail.com>
Mon, 13 Jan 2020 22:40:11 +0000 (04:10 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Mon, 13 Jan 2020 22:40:11 +0000 (04:10 +0530)
plugins/README.md
src/nnn.c
src/nnn.h

index 3268c388729fa8af97373dcee73920222a540586..1433e11fc695a57cff9c3cf39c6bcd653c0a3446 100644 (file)
@@ -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'
 
index 77a2a1c5282aaaea4af99943741f1b6056c4916a..e4e282008da8659650863b4a6a5b0c4242041dbc 100644 (file)
--- 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"
index 65967a2031ea8e0d61d72510c38745a0c621a114..d5f353d6e882f7cb461f3e5a5337dd148d17f3cb 100644 (file)
--- 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 */