jeffreytse / zsh-vi-mode

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

Visual mode highlight stuck after deleting #207

Closed musjj closed 1 year ago

musjj commented 1 year ago

General information

Basic examination

Problem description

Visual mode's highlight doesn't go away, after deleting the selected text using x. The highlight will follow the cursor as if it's still in visual mode.

Reproduction steps

  1. Enter visual mode
  2. Move the cursor and select a range of text
  3. Delete text using x

Expected behavior

Selection highlight should go away.

jeffreytse commented 1 year ago

Hi @musjj

Thanks for your reporting, I will fix your issue as soon as possible. And welcome to star this project for further update in the future. : )

Thanks & Regards

musjj commented 1 year ago

Thanks, the commit fixed the issue for me!