Skip to content

Commit

Permalink
Make v in select mode switch back to normal mode (#660)
Browse files Browse the repository at this point in the history
* Make `v` in select mode switch back to normal mode

* Move select mode toggle to keymap instead of command
  • Loading branch information
Omnikar authored Aug 27, 2021
1 parent fa4caf7 commit bfce4d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helix-term/src/keymap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bfce4d4

Please sign in to comment.