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
commitbfce4d4f29c12bfd9d6bcb01da976d33beff990e
authorOmnikar <omkar.subramaniam@icloud.com>
dateThu 26 Aug 2021, 21:03 (5 years ago)
parentfa4caf7
helix-term/src/keymap.rs+2
@@ -529,6 +529,8 @@ impl Default for Keymaps {
529529 "home" => goto_line_start,
530530 "end" => goto_line_end,
531531 "esc" => exit_select_mode,
532+
533+ "v" => normal_mode,
532534 }));
533535 let insert = keymap!({ "Insert mode"
534536 "esc" => normal_mode,