summaryrefslogtreecommitdiff
path: root/helix-term/src/keymap.rs
diff options
context:
space:
mode:
authorIvan Tham2021-06-08 16:40:38 +0000
committerIvan Tham2021-06-10 03:08:18 +0000
commit6b3c9d8ed37fd36f8be8c217ec2c71fb73de63e7 (patch)
tree808da950ea2dbbda4bd030f0dacc029d2816e921 /helix-term/src/keymap.rs
parent4dbc23ff1ca0c3cc601c6ea011d4ec0a294dd7b2 (diff)
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.
Diffstat (limited to 'helix-term/src/keymap.rs')
-rw-r--r--helix-term/src/keymap.rs5
1 files changed, 4 insertions, 1 deletions
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,