From 6b3c9d8ed37fd36f8be8c217ec2c71fb73de63e7 Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Wed, 9 Jun 2021 00:40:38 +0800 Subject: Fix jump behavior, goto_implementation now jump Better jump behavior since we override the first jump if it's on the first document. At the same time, ctrl-i is now working with gd jumps. --- helix-term/src/keymap.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'helix-term/src/keymap.rs') diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs index a6417cfd..39bd5f3b 100644 --- a/helix-term/src/keymap.rs +++ b/helix-term/src/keymap.rs @@ -280,7 +280,10 @@ pub fn default() -> Keymaps { // z family for save/restore/combine from/to sels from register - ctrl!('i') => commands::jump_forward, // TODO: ctrl-i conflicts tab + KeyEvent { // supposedly ctrl!('i') but did not work + code: KeyCode::Tab, + modifiers: KeyModifiers::NONE, + } => commands::jump_forward, ctrl!('o') => commands::jump_backward, // ctrl!('s') => commands::save_selection, -- cgit v1.2.3-70-g09d2