aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/keymap.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-04-14 08:15:11 +0000
committerBlaž Hrastnik2021-04-14 08:15:11 +0000
commitc64240b6ef20928424f76ee320f0b2d3a69b1132 (patch)
tree424875ec9ae525badc27e6f2227ed5a540ad59f6 /helix-term/src/keymap.rs
parent5edb3742377a680d0b01a56fd706a26954d86fd5 (diff)
Implement most of the view mode (z).
Diffstat (limited to 'helix-term/src/keymap.rs')
-rw-r--r--helix-term/src/keymap.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs
index 26b2b5fe..a1d483c7 100644
--- a/helix-term/src/keymap.rs
+++ b/helix-term/src/keymap.rs
@@ -263,6 +263,7 @@ pub fn default() -> Keymaps {
// ctrl!('s') => commands::save_selection,
key!(' ') => commands::space_mode,
+ key!('z') => commands::view_mode,
);
// 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