-
Notifications
You must be signed in to change notification settings - Fork 6k
Labels
htmlHTML markup supportHTML markup supportreproducibleVerified steps to reproduce includedVerified steps to reproduce includedvim
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
Metadata
Metadata
Assignees
Labels
htmlHTML markup supportHTML markup supportreproducibleVerified steps to reproduce includedVerified steps to reproduce includedvim