goto_word: Skip keys with modifiers in both on-next-key blocks

This commit is contained in:
Michael Davis 2025-01-27 09:24:37 -05:00
parent f5f9f499cf
commit 0364521dca
No known key found for this signature in database

View file

@ -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;