Set default_text
to visual selection on Nightly
#2988
Labels
enhancement
Enhancement to performance, inner workings or existent features
Thanks to Shougo and zeertzjq we now have a proper function to get visual text in Neovim (nightly, for now).
and as used official in Neovim nightly here https://github.com/neovim/neovim/pull/27663/files
Is this something we would want
default_text
to, well, default to if the user launches a picker from visual mode anddefault_text
is unset?Pros:
live_grep
variant several times a dayCons:
""
or something of sorts.Putting this up for discussion. Happy to get thoughts and make a PR if desirable at least in some contexts :) (like adding it also to
live_grep
). Otherwise, we can also close this FR.The text was updated successfully, but these errors were encountered: