jeffreytse / zsh-vi-mode

💻 A better and friendly vi(vim) mode plugin for ZSH.
MIT License
3.13k stars 109 forks source link

Stroking `ctrl-v` or `shift-v` from the visual mode again should exit the visual mode #55

Closed jeffreytse closed 3 years ago

jeffreytse commented 3 years ago

Reproduce

  1. Open a new prompt
  2. Switch to the Normal Mdoe
  3. Stroke the ctrl-v or shift-v to enter the visual mode
  4. Stroke the ctrl-v or shift-v again to exit the visual mode but it does not work
  5. Stroke the ctrl-v to enter the visual mode and then stroke shift-v should switch to visual line mode