tpope / vim-surround

surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
https://www.vim.org/scripts/script.php?script_id=1697
13.39k stars 444 forks source link

ys operator overwrites gv #373

Open myarcana opened 1 year ago

myarcana commented 1 year ago

At the moment, ysiw" etc. make it so that the next call to gv selects the new surrounded text, instead of the previously user-selected visual area.

None of vim's operators change what gv will select, and I think vim-surround shouldn't either - it's surprised me the few times I've run into this.