Vim: surround emulation fails with underscore "_"

Created on 25 Jul 2018  路  3Comments  路  Source: VSCodeVim/Vim

The _surround_ emulation fails to remove underscores.

To Reproduce

  1. move cursor under a word
  2. type ysiw_ to add an underscore around the word
  3. type ds_ to remove the underscore just added

Expected behavior
I expected the underscore to be removed, but it is not.

Environment

  • Extension (VsCodeVim) version: 0.15.7
  • VSCode version: 1.25.1
  • OS: w10p -1803 - 17134.81

Additional context
The adding and removing other characters works.

kinbug

Most helpful comment

the same bug happens with asterisk (*)
e.g. yss* and than ds*
also doesn't work with change. e.g. cs*"

this makes editing markdown a bit painful
works fine in normal vim

All 3 comments

I'm also having this bug

the same bug happens with asterisk (*)
e.g. yss* and than ds*
also doesn't work with change. e.g. cs*"

this makes editing markdown a bit painful
works fine in normal vim

Any news on this rather old issue?
Encountered the asterisk problem today when editing markdowns...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ACollectionOfAtoms picture ACollectionOfAtoms  路  3Comments

domduke12 picture domduke12  路  3Comments

lucastheisen picture lucastheisen  路  3Comments

cckowin picture cckowin  路  3Comments

WangRongda picture WangRongda  路  3Comments