]> Sergey Matveev's repositories - nnn.git/commitdiff
Disable undocumented F2 and F5
authorArun Prakash Jana <engineerarun@gmail.com>
Sat, 8 Dec 2018 03:32:49 +0000 (09:02 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sat, 8 Dec 2018 03:32:49 +0000 (09:02 +0530)
src/nnn.h

index f851ad02e6a000f00ff58ea48b94118fcdae6be5..3aa1eb427c9619c08f97b45a7bee1323e043d7e8 100644 (file)
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -183,7 +183,6 @@ static struct key bindings[] = {
        { 't',            SEL_MTIME },
        /* Redraw window */
        { CONTROL('L'),   SEL_REDRAW },
-       { KEY_F(5),       SEL_REDRAW }, /* Undocumented */
        /* Copy currently selected file path */
        { CONTROL('K'),   SEL_COPY },
        { ' ',            SEL_COPY },
@@ -206,7 +205,6 @@ static struct key bindings[] = {
        { 'n',            SEL_NEW },
        /* Show rename prompt */
        { CONTROL('R'),   SEL_RENAME },
-       { KEY_F(2),       SEL_RENAME }, /* Undocumented */
        /* Rename contents of current dir */
        { 'r',            SEL_RENAMEALL },
        /* Show help */