bug: vscode linkedEditing + Nvim normal-mode
Author: marchollingerCreated Jun 18, 2026Updated Jun 18, 2026
Labelscategory: integration
Check the following:
- I have tried setting
vscode-neovim.neovimCleanin VSCode settings and restarting VSCode. - I have read the vscode-neovim docs.
- I have searched existing (closed!) issues.
Neovim version (nvim -v)
NVIM v0.12.2
VSCode version and flavor (Cursor, vscodium, …)
VSCode 1.125.0
Operating system/version
MacOS 26.5.1
Problem (including log messages)
When using "editor.linkedEditing": true in html files, editing the start tag should update the end tag and vice-versa.
In insert mode, editing like one would without this extension works as expected. However, editing with vim motions (e.g. ciw to change a word) breaks linked editing.
I found two issues:
- Using
ciwwhen the html tag contains any attributes does not update the other tag at all.
Motions that affect only one direction (e.g. ce) seem to work but only if they don't include the entire tag name.
- Using
ciwon a tag without attributes works most of the time but every now and again, seemingly randomly, the cursor jumps out of the tag delimiters:
Steps To Reproduce
- Set
"editor.linkedEditing": trueinsettings.json - Edit any linked html tag names using
c+ motion
Expected Behavior
- The behavior for tags with attributes should be the same as for tags without attributes.
- The cursor should never leave the enclosing tag delimiters
Source: vscode-neovim/vscode-neovim