Add a pick like function for vim #1
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Take inspiration from pick and create a Vim
function which emulates the selection behaviour in a separate buffer, map
<Enter>
to select the current line and return the{text,index}
pair to thecaller after cleaning up the created buffer.
This already exists, either with the old skool
inputlist()
builtin, or the new skoolpopup_menu()
builtin (onvim
at least).