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
This commit is contained in:
Omnikar 2021-08-26 21:03:49 -04:00 committed by GitHub
parent fa4caf7e3d
commit bfce4d4f29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,