I am using vim-surround, I am trying to replace:
'this text needs to be replaced'
from
**this text needs to be replaced**
I did both yss and cst (i.e.):
:cst**
:yss**
and both only fix to the first *.
How to surround a text with a string?
HTML tags obviously work fine, I think they detect the first instance of '<' and open the input buffer, but for other text that doesn't seem possible.
source
share