
Read output from the script as it comes and update the candidate list progressively. Disable updating of the list when a completion has been explicitely selected.
3 lines
138 B
Plaintext
3 lines
138 B
Plaintext
set global autocomplete prompt
|
|
def my-command -params 0..1 -shell-script-candidates %{ printf "aaa\nbbb\nccc" } %{ exec i %arg{1} <esc> }
|