Skip to content

Commit

Permalink
fix: highlight of visual line not disappearing
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreytse committed Jan 7, 2021
1 parent 5eb9f1d commit b0ea270
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zsh-vi-mode.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -958,6 +958,8 @@ function zvm_exit_visual_mode() {
$ZVM_MODE_VISUAL) zle visual-mode;;
$ZVM_MODE_VISUAL_LINE) zle visual-line-mode;;
esac
region_highlight=()
zle -R
zvm_select_vi_mode $ZVM_MODE_NORMAL
}

Expand Down

0 comments on commit b0ea270

Please sign in to comment.