diff options
author | Omnikar | 2021-08-27 01:03:49 +0000 |
---|---|---|
committer | GitHub | 2021-08-27 01:03:49 +0000 |
commit | bfce4d4f29c12bfd9d6bcb01da976d33beff990e (patch) | |
tree | f31b823636638281aa9eef6abd0dbc757b7c1a2d | |
parent | fa4caf7e3d43a40073f6966d37f529d5197bd840 (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
-rw-r--r-- | helix-term/src/keymap.rs | 2 |
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, |