Repository navigation
Description
- Date: 2026-08-26
- Type: Enhancement
- Priority: Low
Problem
When Auto-pair quote prose is enabled, typing ' or " automatically inserts the corresponding closing quote and places the cursor between the pair.
However, once the user has finished typing inside the quotes, moving the cursor outside the closing quote requires additional cursor movement. The existing marker-navigation shortcuts do not currently apply to auto-paired quotes, making quote pairs less convenient to navigate than other paired markers.
Proposed Enhancement
Extend the existing marker-navigation behaviour to automatically paired ' and " characters created by Auto-pair quote prose.
When the cursor is inside an auto-paired quote pair, the existing marker navigation shortcuts should allow the user to move across the closing quote in the same way they can currently move across the Markdown formatting markers.
Example
With Auto-pair quote prose enabled:
-
Typing
"automatically creates the closing quote.Before typing:
"
After typing ":
"|"
-
After writing text inside the quotes, marker navigation should move the cursor past the closing quote.
Before
"This|"
After pressing the marker-navigation shortcut
"This"|
The same behaviour should apply to single quotes:
'This|'
becomes:
'This'|
Considerations
- The existing marker-navigation shortcuts should be reused rather than introducing new shortcuts specifically for quotes.
- Both single (
') and double (") auto-paired quotes should support marker navigation. - Existing marker navigation for Markdown formatting markers should remain unchanged.
- The behaviour should remain consistent with how the existing marker-navigation shortcuts handle other paired markers.
Rationale
Auto-paired quotes already reduce the effort required to enter quoted text, but moving past the automatically inserted closing quote still requires manual cursor movement.
Extending marker navigation to auto-paired quotes would make the existing keyboard-driven workflow more consistent and allow users to move across quote boundaries without interrupting their writing.
Current Workaround
Users must manually move the cursor past the closing quote using the arrow keys, the mouse, or editor-specific navigation commands such as Vim motions.
Additional Context
This enhancement is related to #490 — Add keyboard shortcuts to step over Markdown formatting markers, which introduced marker-navigation shortcuts for Markdown formatting markers and was implemented in v2.19.0.
This request extends the same navigation concept to quotes automatically inserted by Auto-pair quote prose.
Activity
Feat(editor): the marker hop steps over auto-paired quotes (#685)
adibhanna commentedon Aug 27, 2026
Shipped in d1faeb5 (lands in 2.39.0).
The marker-hop shortcuts (Ctrl+. / Ctrl+, on macOS, Alt+] / Alt+[ elsewhere) now cross straight quotes too:
"This|"becomes"This"|and'This|'becomes'This'|, backward as well, one pair at a time like every other marker. Quotes count exactly where they auto-pair (Auto-pair quotes on, or inside code), so the hop is unchanged for everyone else, and an apostrophe inside a word (don't) is never a stop.Verified in the built app with the setting on and off, reading the note back after each hop. Thanks for the well-argued request.