aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
authorOmnikar2021-08-27 01:03:49 +0000
committerGitHub2021-08-27 01:03:49 +0000
commitbfce4d4f29c12bfd9d6bcb01da976d33beff990e (patch)
treef31b823636638281aa9eef6abd0dbc757b7c1a2d /helix-term/src
parentfa4caf7e3d43a40073f6966d37f529d5197bd840 (diff)
Make `v` in select mode switch back to normal mode (#660)
* Make `v` in select mode switch back to normal mode * Move select mode toggle to keymap instead of command
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/keymap.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs
index 57bcb321..492dc292 100644
--- a/helix-term/src/keymap.rs
+++ b/helix-term/src/keymap.rs
@@ -529,6 +529,8 @@ impl Default for Keymaps {
"home" => goto_line_start,
"end" => goto_line_end,
"esc" => exit_select_mode,
+
+ "v" => normal_mode,
}));
let insert = keymap!({ "Insert mode"
"esc" => normal_mode,