Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/src/ui/editor.rs')
| -rw-r--r-- | helix-term/src/ui/editor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs index 515297c3..d1487bcb 100644 --- a/helix-term/src/ui/editor.rs +++ b/helix-term/src/ui/editor.rs @@ -792,7 +792,7 @@ impl EditorView { ) -> Option<KeymapResult> { let mut last_mode = mode; self.pseudo_pending.extend(cxt.keymaps.pending()); - let key_result = cxt.keymaps.get(mode, event); + let key_result = cxt.keymaps.get_by_mode(mode, event); cxt.editor.autoinfo = cxt.keymaps.sticky().map(|node| node.infobox()); let mut execute_command = |command: &commands::MappableCommand| { |