aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-05-30 22:02:36 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-05-30 22:02:55 +0530
commit04f9698d863815cb9fde02d6a252f38f91976c5a (patch)
treeeb25ff3ebbfa588638fef6f41e7b37c8cab95763 /src
parent3feae709acdd1434d55f6ce8862eb1490f2f74e2 (diff)
downloadnnn-04f9698d863815cb9fde02d6a252f38f91976c5a.tar.gz
Retire ^S as select plugin
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c5
-rw-r--r--src/nnn.h1
2 files changed, 2 insertions, 4 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 0b307e1..e7ec31d 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -4159,7 +4159,7 @@ static void show_help(const char *path)
"9x ^X Delete%-18cE Edit sel\n"
"c* Toggle exe%-14c> Export list\n"
"1MISC\n"
- "5Alt ; ^S Select plugin%-11c= Launch app\n"
+ "8Alt ; Select plugin%-11c= Launch app\n"
"9! ^] Shell%-19c] Cmd prompt\n"
"cc Connect remote%-10cu Unmount\n"
"9t ^T Sort toggles%-12cs Manage session\n"
@@ -6583,8 +6583,7 @@ static char *make_tmp_tree(char **paths, ssize_t entries, const char *prefix)
static char *load_input(int fd, const char *path)
{
- /* 512 KiB chunk size */
- ssize_t i, chunk_count = 1, chunk = 512 * 1024, entries = 0;
+ ssize_t i, chunk_count = 1, chunk = 512 * 1024 /* 512 KiB chunk size */, entries = 0;
char *input = malloc(sizeof(char) * chunk), *tmpdir = NULL;
char cwd[PATH_MAX], *next;
size_t offsets[LIST_FILES_MAX];
diff --git a/src/nnn.h b/src/nnn.h
index e6ee5e8..a403f29 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -240,7 +240,6 @@ static struct key bindings[] = {
{ 'e', SEL_EDIT },
/* Run a plugin */
{ ';', SEL_PLUGIN },
- { CONTROL('S'), SEL_PLUGIN },
/* Run command */
{ '!', SEL_SHELL },
{ CONTROL(']'), SEL_SHELL },