From a3d6b81d9f69fc378ace77068e1f0b64fd01a5d9 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 10 Dec 2019 01:09:15 +0530 Subject: [PATCH] Key 's' to manage session --- README.md | 4 ++-- src/nnn.c | 4 ++-- src/nnn.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e083c90e..ba96ce92 100644 --- a/README.md +++ b/README.md @@ -232,8 +232,8 @@ The list below is from the **dev branch**. Press ? 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 ``` diff --git a/src/nnn.c b/src/nnn.c index 7a62c0a6..d8185348 100644 --- 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(); diff --git a/src/nnn.h b/src/nnn.h index 577d0682..a24e27a1 100644 --- 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 }, };