Merge remote-tracking branch 'Delapouite/shell-candidates'
This commit is contained in:
commit
2f251c9861
|
@ -1553,9 +1553,16 @@ New commands can be defined using the `:def` command.
|
||||||
passed to this command
|
passed to this command
|
||||||
* `-buffer-completion`: try buffer name completion on any parameter
|
* `-buffer-completion`: try buffer name completion on any parameter
|
||||||
passed to this command
|
passed to this command
|
||||||
|
* `-command-completion`: try command completion on any parameter
|
||||||
|
passed to this command
|
||||||
* `-shell-completion`: following string is a shell command which takes
|
* `-shell-completion`: following string is a shell command which takes
|
||||||
parameters as positional params and output one completion candidate
|
parameters as positional params and output one completion candidate
|
||||||
per line.
|
per line. The provided shell command will run after each keypress
|
||||||
|
* `-shell-candidates`: following string is a shell command which takes
|
||||||
|
parameters as positional params and output one completion candidate
|
||||||
|
per line. The provided shell command will run once at the beginning
|
||||||
|
of each completion session, candidates are cached and then used by
|
||||||
|
kakoune internal fuzzy engine
|
||||||
* `-allow-override`: allow the new command to replace an existing one
|
* `-allow-override`: allow the new command to replace an existing one
|
||||||
with the same name.
|
with the same name.
|
||||||
* `-hidden`: do not show the command in command name completions
|
* `-hidden`: do not show the command in command name completions
|
||||||
|
|
|
@ -254,9 +254,20 @@ New commands can be defined using the *define-command* command:
|
||||||
*-buffer-completion*:::
|
*-buffer-completion*:::
|
||||||
try buffer name completion on any parameter passed to this command
|
try buffer name completion on any parameter passed to this command
|
||||||
|
|
||||||
|
*-command-completion*:::
|
||||||
|
try command completion on any parameter passed to this command
|
||||||
|
|
||||||
*-shell-completion*:::
|
*-shell-completion*:::
|
||||||
following string is a shell command which takes parameters as
|
following string is a shell command which takes parameters as
|
||||||
positional params and output one completion candidate per line
|
positional params and output one completion candidate per line.
|
||||||
|
The provided shell command will run after each keypress
|
||||||
|
|
||||||
|
*-shell-candidates*:::
|
||||||
|
following string is a shell command which takes parameters as
|
||||||
|
positional params and output one completion candidate per line.
|
||||||
|
The provided shell command will run once at the beginning of each
|
||||||
|
completion session, candidates are cached and then used by kakoune
|
||||||
|
internal fuzzy engine
|
||||||
|
|
||||||
*-allow-override*:::
|
*-allow-override*:::
|
||||||
allow the new command to replace an existing one with the same name
|
allow the new command to replace an existing one with the same name
|
||||||
|
|
Loading…
Reference in New Issue
Block a user