-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Closed
Copy link
Labels
area:languages/htmlHTML markup supportHTML markup supportarea:parity/vimFeedback for Vim parity featuresFeedback for Vim parity featuresstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduceVerified steps to reproduce included and someone on the team managed to reproduce
Description
Summary
In vim mode when using the % keystroke (vim::Matching) on an html start tag the cursor jumps to the end tag as expected, but when doing % again it jumps from / of the end tag to its > instead of jumping back to the start tag again.
Description
Noticed this behavior for plain HTML but also for markup in JSX/TSX files.
Steps to reproduce:
- Enable vim mode
- Create html file
- Insert
<html></html> - Move cursor inside start tag
- Hit
%keystroke multiple times
Expected Behavior: Cursor jumps back and forth between start and end tag.
Video example
Screen.Recording.2025-10-30.at.16.39.33.mov
Actual Behavior: Cursor jumps to end tag and then "gets stuck" jumping between angle brackets of end tag.
Video example
Screen.Recording.2025-10-30.at.16.35.51.mov
Zed Version and System Specs
Zed: v0.210.4 (Zed)
OS: macOS 26.0.1
Memory: 16 GiB
Architecture: aarch64
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:languages/htmlHTML markup supportHTML markup supportarea:parity/vimFeedback for Vim parity featuresFeedback for Vim parity featuresstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduceVerified steps to reproduce included and someone on the team managed to reproduce