mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 02:49:44 +00:00
Retire ^S as select plugin
This commit is contained in:
parent
3feae709ac
commit
04f9698d86
|
@ -79,7 +79,7 @@ Plugins are installed to `${XDG_CONFIG_HOME:-$HOME/.config}/nnn/plugins`.
|
||||||
|
|
||||||
## Invoking a plugin
|
## Invoking a plugin
|
||||||
|
|
||||||
Press the plugin shortcut (<kbd>;</kbd> or <kbd>^S</kbd>) followed by the assigned key character. E.g., with the below config:
|
Press the plugin shortcut (<kbd>;</kbd>) followed by the assigned key character. E.g., with the below config:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
export NNN_PLUG='f:finder;o:fzopen;p:mocplay;d:diffs;t:nmount;v:imgview'
|
export NNN_PLUG='f:finder;o:fzopen;p:mocplay;d:diffs;t:nmount;v:imgview'
|
||||||
|
|
|
@ -4159,7 +4159,7 @@ static void show_help(const char *path)
|
||||||
"9x ^X Delete%-18cE Edit sel\n"
|
"9x ^X Delete%-18cE Edit sel\n"
|
||||||
"c* Toggle exe%-14c> Export list\n"
|
"c* Toggle exe%-14c> Export list\n"
|
||||||
"1MISC\n"
|
"1MISC\n"
|
||||||
"5Alt ; ^S Select plugin%-11c= Launch app\n"
|
"8Alt ; Select plugin%-11c= Launch app\n"
|
||||||
"9! ^] Shell%-19c] Cmd prompt\n"
|
"9! ^] Shell%-19c] Cmd prompt\n"
|
||||||
"cc Connect remote%-10cu Unmount\n"
|
"cc Connect remote%-10cu Unmount\n"
|
||||||
"9t ^T Sort toggles%-12cs Manage session\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)
|
static char *load_input(int fd, const char *path)
|
||||||
{
|
{
|
||||||
/* 512 KiB chunk size */
|
ssize_t i, chunk_count = 1, chunk = 512 * 1024 /* 512 KiB chunk size */, entries = 0;
|
||||||
ssize_t i, chunk_count = 1, chunk = 512 * 1024, entries = 0;
|
|
||||||
char *input = malloc(sizeof(char) * chunk), *tmpdir = NULL;
|
char *input = malloc(sizeof(char) * chunk), *tmpdir = NULL;
|
||||||
char cwd[PATH_MAX], *next;
|
char cwd[PATH_MAX], *next;
|
||||||
size_t offsets[LIST_FILES_MAX];
|
size_t offsets[LIST_FILES_MAX];
|
||||||
|
|
|
@ -240,7 +240,6 @@ static struct key bindings[] = {
|
||||||
{ 'e', SEL_EDIT },
|
{ 'e', SEL_EDIT },
|
||||||
/* Run a plugin */
|
/* Run a plugin */
|
||||||
{ ';', SEL_PLUGIN },
|
{ ';', SEL_PLUGIN },
|
||||||
{ CONTROL('S'), SEL_PLUGIN },
|
|
||||||
/* Run command */
|
/* Run command */
|
||||||
{ '!', SEL_SHELL },
|
{ '!', SEL_SHELL },
|
||||||
{ CONTROL(']'), SEL_SHELL },
|
{ CONTROL(']'), SEL_SHELL },
|
||||||
|
|
Loading…
Reference in a new issue