This is a feature request to support ys<motion/text object><surround character> in normal mode to surround <text object> with <character>. It is similar to ys from visual selection mode. The description from surround.vim:
ys takes a valid Vim motion or text object as the first object, and wraps
it using the second argument as with cs. (It's a stretch, but a good
mnemonic for "ys" is "you surround".)
Old text Command New text
Hello w*orld! ysiw) Hello (world)!
[In the example above, the * denotes the position of the cursor.]
Right now the workaround from normal mode is to enter v<text object>ys<character>. This feature would cut down on a few keypresses. It would also help those users who have gotten used to this normal mode mapping from surround.vim.
This is a feature request to support
ys<motion/text object><surround character>
in normal mode to surround<text object>
with<character>
. It is similar toys
from visual selection mode. The description from surround.vim:[In the example above, the
*
denotes the position of the cursor.]Right now the workaround from normal mode is to enter
v<text object>ys<character>
. This feature would cut down on a few keypresses. It would also help those users who have gotten used to this normal mode mapping from surround.vim.Thanks for considering this request!