From b0efe4c642b85ac4fbcdbe71f7e6740976f0b647 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Mon, 5 Jun 2017 02:29:34 +0530 Subject: [PATCH] Disable key to run top --- README.md | 1 - config.def.h | 1 - nnn.1 | 2 -- nnn.c | 1 - 4 files changed, 5 deletions(-) diff --git a/README.md b/README.md index 64bd5ffd..3644a964 100644 --- a/README.md +++ b/README.md @@ -175,7 +175,6 @@ Right, Enter, l, ^M | Open file or enter dir S | Toggle disk usage analyzer mode t | Toggle sort by modified time ! | Spawn SHELL in PWD (fallback sh) - z | Run top e | Edit entry in EDITOR (fallback vi) o | Open dir in NNN_DE_FILE_MANAGER p | Open entry in PAGER (fallback less) diff --git a/config.def.h b/config.def.h index 7456e9a6..fb17fb3f 100644 --- a/config.def.h +++ b/config.def.h @@ -97,7 +97,6 @@ static struct key bindings[] = { /* Show help */ { '?', SEL_HELP, "", "" }, /* Run command */ - { 'z', SEL_RUN, "top", "" }, { '!', SEL_RUN, "sh", "SHELL" }, /* Run command with argument */ { 'e', SEL_RUNARG, "vi", "EDITOR" }, diff --git a/nnn.1 b/nnn.1 index a340f6e4..4b4bbd0c 100644 --- a/nnn.1 +++ b/nnn.1 @@ -75,8 +75,6 @@ Toggle disk usage analyzer mode Toggle sort by time modified .It Ic \&! Spawn SHELL in PWD (fallback sh) -.It Ic z -Run the system top utility. .It Ic e Open current entry in EDITOR (fallback vi) .It Ic o diff --git a/nnn.c b/nnn.c index ccc0c577..1b3aadb9 100644 --- a/nnn.c +++ b/nnn.c @@ -1270,7 +1270,6 @@ show_help(void) S | Toggle disk usage analyzer mode\n\ t | Toggle sort by modified time\n\ ! | Spawn SHELL in PWD (fallback sh)\n\ - z | Run top\n\ e | Edit entry in EDITOR (fallback vi)\n\ o | Open dir in NNN_DE_FILE_MANAGER\n\ p | Open entry in PAGER (fallback less)\n\