goto_word: Skip keys with modifiers in both on-next-key blocks
This commit is contained in:
parent
f5f9f499cf
commit
0364521dca
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue