]> Sergey Matveev's repositories - nnn.git/commitdiff
Key 's' to manage session
authorArun Prakash Jana <engineerarun@gmail.com>
Mon, 9 Dec 2019 19:39:15 +0000 (01:09 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Mon, 9 Dec 2019 19:39:15 +0000 (01:09 +0530)
README.md
src/nnn.c
src/nnn.h

index e083c90e281b4f5b8ef2369a9c6b1c1ecf5ae8e6..ba96ce927dedb1ec5b2ff8bfaf9211759a2bf176 100644 (file)
--- a/README.md
+++ b/README.md
@@ -232,8 +232,8 @@ The list below is from the **dev branch**. Press <kbd>?</kbd> in `nnn` to see th
  MISC
          ! ^]  Shell      ;K :K xK  Execute plugin K
             C  Execute entry  R ^V  Pick plugin
-            U  Manage session    =  Launch app
-            c  Remote mount      u  Unmount
+            s  Manage session    =  Launch app
+            c  Connect remote    u  Unmount
          \ ^P  Prompt/run cmd    L  Lock
 ```
 
index 7a62c0a6108075ac2e9e33bd5f55f11d784a8bdd..d81853486a88d047870997cbfefff074c0225f82 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3516,8 +3516,8 @@ static void show_help(const char *path)
                "1MISC\n"
               "9! ^]  Shell      ;K :K xK  Execute plugin K\n"
                  "cC  Execute entry  R ^V  Pick plugin\n"
-                 "cU  Manage session    =  Launch app\n"
-                 "cc  SSHFS mount       u  Unmount\n"
+                 "cs  Manage session    =  Launch app\n"
+                 "cc  Connect remote    u  Unmount\n"
              "9\\ ^P  Prompt/run cmd    L  Lock\n"};
 
        fd = create_tmp_file();
index 577d0682ec5032961fca9cdba815d1579b031c6c..a24e27a1c2c1775ed65380bc11840e95c236bf99 100644 (file)
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -272,5 +272,5 @@ static struct key bindings[] = {
        { 'Q',            SEL_QUIT },
        { CONTROL('Q'),   SEL_QUIT },
        { KEY_MOUSE,      SEL_CLICK },
-       { 'U',            SEL_SESSIONS },
+       { 's',            SEL_SESSIONS },
 };