From dd3fe34ae5aa10aca72a18607702f238a40fc7b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Thu, 24 Sep 2026 14:34:59 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs(keys):=20the=20arrow=20comm?= =?UTF-8?q?ent=20stops=20claiming=20no=20card=20consults=20the=20keymap?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The sentence said a card answers the stroke and returns before the keymap is consulted at all, which stopped being true for the six document strokes this lane made reachable (verifier finding H4). It now says the card answers its own strokes first and names the exception. --- crates/app/src/keymap.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/crates/app/src/keymap.rs b/crates/app/src/keymap.rs index 511f8c1..f0f207a 100644 --- a/crates/app/src/keymap.rs +++ b/crates/app/src/keymap.rs @@ -949,9 +949,12 @@ impl Keymap { // Seeking without a pointer, on the keys every player already // seeks with (gpui names them "left"/"right"/"home"/"end", // platform.rs:872-877). The colour card reads the same arrows - // for its sliders, but a card answers the stroke and returns - // before the keymap is consulted at all -- so these move the - // playhead only while no card is open. + // for its sliders, and a card answers its own strokes before the + // keymap is consulted -- the arrows among them -- so these move + // the playhead only while no card is open. The document chords + // are the exception and are not these: `Undo`, `Redo`, `Save`, + // `Copy` and `Paste` reach the keymap whatever is up + // (`ui::stance::card_safe_action`). b(ActionId::StepBack, "left", false), b(ActionId::StepForward, "right", false), b(ActionId::JumpBack, "left", true),