vim-surround
vim-surround copied to clipboard
Feature request: ability to paste a yanked surround
This seems so obvious that I apologize if it's been addressed elsewhere, but: it would be great, once I've deleted a complicated HTML tag surround using dst, to be able to then put it around some other text, with a command like perhaps yswp.
Is this way more difficult than I realize?
A "last target" replacement doesn't seem like it would be that hard. Maybe some day I'll get to it. :)
It'd be nice to paste from a register as well e.g. trying to surround a tag with a complicated React component — yank the React component to a register and then surround another tag with it.