aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/keymap.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-03-24 09:01:26 +0000
committerBlaž Hrastnik2021-03-24 09:01:26 +0000
commit8657c57cf2d56b9a89e2f780675426f4c78df48b (patch)
treecbcda261837dc2bcd3be1e060a6452186fd0acc9 /helix-term/src/keymap.rs
parent4b176cadedfe47fe542e9c6e2defd34b3af984df (diff)
Trivial jumplist implementation.
Diffstat (limited to 'helix-term/src/keymap.rs')
-rw-r--r--helix-term/src/keymap.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs
index bd1b31ef..824d469d 100644
--- a/helix-term/src/keymap.rs
+++ b/helix-term/src/keymap.rs
@@ -253,6 +253,9 @@ pub fn default() -> Keymaps {
shift!('K') => commands::hover,
// z family for save/restore/combine from/to sels from register
+
+ ctrl!('i') => commands::jump_forward, // TODO: ctrl-i conflicts tab
+ ctrl!('o') => commands::jump_backward,
);
// TODO: decide whether we want normal mode to also be select mode (kakoune-like), or whether
// we keep this separate select mode. More keys can fit into normal mode then, but it's weird