Unnamed repository; edit this file 'description' to name the repository.
goto_word: Skip keys with modifiers in both on-next-key blocks
Michael Davis 2025-01-27
parent f5f9f49 · commit 0364521
-rw-r--r--helix-term/src/commands.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index 7b746548..851f9035 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -6505,6 +6505,7 @@ fn jump_to_label(cx: &mut Context, labels: Vec<Range>, behaviour: Movement) {
let alphabet = &cx.editor.config().jump_label_alphabet;
let Some(inner) = event
.char()
+ .filter(|_| event.modifiers.is_empty())
.and_then(|ch| alphabet.iter().position(|&it| it == ch))
else {
return;