You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to surround a piece of text in dollar signs (such as starting a math environment for a markdown file) the dollar sign isn't recognized and instead snaps me back into Normal mode. The Surround plugin is enabled, and this works for other characters (", ', (), etc. This is supposed to work in Vim (as suggested by StackOverflow posts)
To Reproduce
Option A (normal mode)
Enter an editor in normal mode
Type ys[motion]$ with any motion (for example, ysiw$)
Watch as nothing happens (except maybe the cursor moving)
Option B (visual mode)
Enter an editor in visual mode (using v, V or <C-v> from normal mode)
Make a selection (for example iw)
Type S to enter Surround Input mode
Type $
Watch as you are put in normal mode with no dollar signs anywhere you expected
Expected behavior
The dollar signs should appear around the selected text thanks to the Surround plugin, as it happens with other characters.
Environment
VsCodeVim version: 1.27.2
VSCode version: 1.86.1
OS: Windows 11 Home x64 23H2, build 22631.3155
The text was updated successfully, but these errors were encountered:
Description
When trying to surround a piece of text in dollar signs (such as starting a math environment for a markdown file) the dollar sign isn't recognized and instead snaps me back into Normal mode. The Surround plugin is enabled, and this works for other characters (
"
,'
,()
, etc. This is supposed to work in Vim (as suggested by StackOverflow posts)To Reproduce
Option A (normal mode)
ys[motion]$
with any motion (for example,ysiw$
)Option B (visual mode)
v
,V
or<C-v>
from normal mode)iw
)S
to enter Surround Input mode$
Expected behavior
The dollar signs should appear around the selected text thanks to the Surround plugin, as it happens with other characters.
Environment
The text was updated successfully, but these errors were encountered: