vim-yoink
vim-yoink copied to clipboard
Conflict with tpope's vim-surround
I'm finding that there's some conflict with tpope's vim-surround plugin. I migrated to this from vim-easyclip, so that I could save my cuts to the yank ring with the option yoinkIncludeDeleteOperations
which is not in easyclip. Easyclip didn't have any issues with vim-surround, but since migrating to yoink the change surround cs
function is not working correctly.
given:
function () {
thing*
other thing
}
where *
is my cursor, when I type cs{(
, I'd expect tpope's surround plugin to give me:
function () ( thing
other thing
)
which it does, when yoink's let g:yoinkIncludeDeleteOperations = 0
. If it is = 1
then it gives me:
function ()
(
{
}
)
(or sometimes even whatever is in the clipboard appears in the middle).