Disable key to run top

This commit is contained in:
Arun Prakash Jana 2017-06-05 02:29:34 +05:30
parent 8d6ceb00a7
commit b0efe4c642
No known key found for this signature in database
GPG key ID: A75979F35C080412
4 changed files with 0 additions and 5 deletions

View file

@ -175,7 +175,6 @@ Right, Enter, l, ^M | Open file or enter dir
S | Toggle disk usage analyzer mode S | Toggle disk usage analyzer mode
t | Toggle sort by modified time t | Toggle sort by modified time
! | Spawn SHELL in PWD (fallback sh) ! | Spawn SHELL in PWD (fallback sh)
z | Run top
e | Edit entry in EDITOR (fallback vi) e | Edit entry in EDITOR (fallback vi)
o | Open dir in NNN_DE_FILE_MANAGER o | Open dir in NNN_DE_FILE_MANAGER
p | Open entry in PAGER (fallback less) p | Open entry in PAGER (fallback less)

View file

@ -97,7 +97,6 @@ static struct key bindings[] = {
/* Show help */ /* Show help */
{ '?', SEL_HELP, "", "" }, { '?', SEL_HELP, "", "" },
/* Run command */ /* Run command */
{ 'z', SEL_RUN, "top", "" },
{ '!', SEL_RUN, "sh", "SHELL" }, { '!', SEL_RUN, "sh", "SHELL" },
/* Run command with argument */ /* Run command with argument */
{ 'e', SEL_RUNARG, "vi", "EDITOR" }, { 'e', SEL_RUNARG, "vi", "EDITOR" },

2
nnn.1
View file

@ -75,8 +75,6 @@ Toggle disk usage analyzer mode
Toggle sort by time modified Toggle sort by time modified
.It Ic \&! .It Ic \&!
Spawn SHELL in PWD (fallback sh) Spawn SHELL in PWD (fallback sh)
.It Ic z
Run the system top utility.
.It Ic e .It Ic e
Open current entry in EDITOR (fallback vi) Open current entry in EDITOR (fallback vi)
.It Ic o .It Ic o

1
nnn.c
View file

@ -1270,7 +1270,6 @@ show_help(void)
S | Toggle disk usage analyzer mode\n\ S | Toggle disk usage analyzer mode\n\
t | Toggle sort by modified time\n\ t | Toggle sort by modified time\n\
! | Spawn SHELL in PWD (fallback sh)\n\ ! | Spawn SHELL in PWD (fallback sh)\n\
z | Run top\n\
e | Edit entry in EDITOR (fallback vi)\n\ e | Edit entry in EDITOR (fallback vi)\n\
o | Open dir in NNN_DE_FILE_MANAGER\n\ o | Open dir in NNN_DE_FILE_MANAGER\n\
p | Open entry in PAGER (fallback less)\n\ p | Open entry in PAGER (fallback less)\n\