]> Sergey Matveev's repositories - nnn.git/commitdiff
Remove key N
authorArun Prakash Jana <engineerarun@gmail.com>
Thu, 31 Jan 2019 13:58:35 +0000 (19:28 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Thu, 31 Jan 2019 13:58:35 +0000 (19:28 +0530)
README.md
nnn.1
src/nnn.c
src/nnn.h

index 2a3d42669590ed203c4b97a8823811776cbc924a..ed30cefe290aa5ad56d6169645f312a9eeb7a9db 100644 (file)
--- a/README.md
+++ b/README.md
@@ -241,11 +241,11 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
             e  Edit in EDITOR     p  Open in PAGER
  ORDER TOGGLES
            ^J  Disk usage         S  Apparent du
-            t  Modification time  s  Size
+            t  Time modified      s  Size
  MISC
          ! ^]  Spawn SHELL        C  Execute entry
-         R ^V  Run/choose script  L  Lock terminal
-           ^P  Command prompt  N ^N  Take note
+         R ^V  Run/pick script    L  Lock terminal
+           ^P  Command prompt    ^N  Take note
 ```
 
 Help & settings, file details, media info and archive listing are shown in the PAGER. Please use the PAGER-specific keys in these screens.
diff --git a/nnn.1 b/nnn.1
index f7db4d2422d079169ecd4bbe910a65d5af6eec06..da07f72f60222c7dbb41bdc409fc85d0f9c1841b 100644 (file)
--- a/nnn.1
+++ b/nnn.1
@@ -147,10 +147,10 @@ Spawn SHELL in current directory (fallback sh)
 .It Ic C
 Execute entry
 .It Ic R, ^V
-Run or choose a custom script
+Run or pick a script to run
 .It Ic L
 Lock terminal
-.It Ic N
+.It Ic ^N
 Take note
 .It Ic ^P
 Show command prompt
index 9e6c7ac75f06d9d50b90fa03655eaabe13eee5f1..53e5e5ddac881292276630ee4d4accca326e82fd 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2305,11 +2305,11 @@ static bool show_help(char *path)
              "ce  Edit in EDITOR     p  Open in PAGER\n"
 "1ORDER TOGGLES\n"
             "b^J  Disk usage         S  Apparent du\n"
-             "ct  Modification time  s  Size\n"
+             "ct  Time modified      s  Size\n"
 "1MISC\n"
           "9! ^]  Spawn SHELL        C  Execute entry\n"
-          "9R ^V  Run/choose script  L  Lock terminal\n"
-            "b^P  Command prompt  N ^N  Take note\n"};
+          "9R ^V  Run/pick script    L  Lock terminal\n"
+            "b^P  Command prompt    ^N  Take note\n"};
 
        if (fd == -1)
                return FALSE;
index 8517578a0054874dfa3a597b06691d90cae8740c..b4ba6f21c6465e4dfaf098c2dcc1263efca66687 100644 (file)
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -226,7 +226,6 @@ static struct key bindings[] = {
        { 'e',            SEL_RUNEDIT },
        { 'p',            SEL_RUNPAGE },
        /* Open notes file */
-       { 'N',            SEL_NOTE },
        { CONTROL('N'),   SEL_NOTE },
        /* Lock screen */
        { 'L',            SEL_LOCK },