Many implementations of surround plugins in vim/neovim allows you to use surround commands directly with a text object. For example, ysiw" will add quotes to the current word. Currently, you need to use visual mode first, like: viwS". It's not any less efficient, but muscle memory is a hell of a drug :)
General information
Basic examination
Problem description
Many implementations of surround plugins in vim/neovim allows you to use surround commands directly with a text object. For example,
ysiw"
will add quotes to the current word. Currently, you need to use visual mode first, like:viwS"
. It's not any less efficient, but muscle memory is a hell of a drug :)