Skip to content
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

vim-surround does not work with multiple cursors #3600

Closed
haberdashPI opened this issue Mar 19, 2019 · 1 comment
Closed

vim-surround does not work with multiple cursors #3600

haberdashPI opened this issue Mar 19, 2019 · 1 comment

Comments

@haberdashPI
Copy link

vim-surround does not work when using multiple cursors

It reports the following error:

"ModeHandler: unexpected selection mode. selectionMode=10"

To Reproduce
Open a new file, and insert the following text:

this is a test repeated
of vim-surround repeated

In normal mode, place cursor on the word "repeated"; use Cmd-D (or "gb") twice to select both instances of "repeated".

Then, type "bvysw)" (to go to beginning of the word ("b"), switch from visual to normal ("v"), and then use vim surround to add parentheses around the word ("ysw)")).

Expected behavior
I would expect the following text to appear:

this is a test (repeated)
of vim-surround (repeated)
@admosity
Copy link
Contributor

Dupe #1818

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants