aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/keymap.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-03-29 06:04:29 +0000
committerBlaž Hrastnik2021-03-29 06:04:29 +0000
commitaefafc25cd235183261efa2d59265855e0e992e1 (patch)
treee2ba4b01a27917a870031ef32e5109d576268987 /helix-term/src/keymap.rs
parent1d96cbfbd2ef1d937490b1aaa19152dfc0ea0f76 (diff)
Replace Mode::Goto with just using on_next_key.
Diffstat (limited to 'helix-term/src/keymap.rs')
-rw-r--r--helix-term/src/keymap.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs
index aa1f8cce..f401f0f9 100644
--- a/helix-term/src/keymap.rs
+++ b/helix-term/src/keymap.rs
@@ -316,17 +316,5 @@ pub fn default() -> Keymaps {
ctrl!('x') => commands::completion,
),
- Mode::Goto => hashmap!(
- Key {
- code: KeyCode::Esc,
- modifiers: Modifiers::NONE
- } => commands::normal_mode as Command,
- key!('g') => commands::move_file_start,
- key!('e') => commands::move_file_end,
- key!('d') => commands::goto_definition,
- key!('t') => commands::goto_type_definition,
- key!('r') => commands::goto_reference,
- key!('i') => commands::goto_implementation,
- ),
)
}