-
-
Notifications
You must be signed in to change notification settings - Fork 444
-
-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Surrounding multiple words #137
Comments
Try these commands using |
Though it seems maybe surround.vim is detecting "unwanted" space and trimming it, but perhaps missing the edge case. Whitespace is trimmed when there is whitespace at the end of the target, but not when it's only at the beginning? To demonstrate, using the same text, compare The edge case in question is that Vim will normally include trailing whitespace for the |
Feel free to dig deeper on that edge case, but it sounds like the core problem is a non-issue. |
Using latest version.
ys2iw'
when cursor is on middlec
. Should showaaa bbb 'ccc ddd'
.ys2aw'
when cursor is on middlec
. Should showaaa bbb 'ccc ddd'
.ys2iw'
when cursor is on middleb
. Should showaaa 'bbb ccc' ddd
.ys2aw'
when cursor is on middleb
. This is as expected.The text was updated successfully, but these errors were encountered: