From bfce4d4f29c12bfd9d6bcb01da976d33beff990e Mon Sep 17 00:00:00 2001 From: Omnikar Date: Thu, 26 Aug 2021 21:03:49 -0400 Subject: 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--- helix-term/src/keymap.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'helix-term/src') 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, -- cgit v1.2.3-70-g09d2