mirror of https://github.com/helix-editor/helix
goto_word: Skip keys with modifiers in both on-next-key blocks
parent
f5f9f499cf
commit
0364521dca
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue