zsh-vi-mode
zsh-vi-mode copied to clipboard
Cursor mode enabled, strange behavior around whitespace in visual mode
thanks for this tool.
I like to use this in my zshrc to have a better cursor.
VI_MODE_RESET_PROMPT_ON_MODE_CHANGE=true
VI_MODE_SET_CURSOR=true
however after enabling it (and restarting zsh), vim visual mode selection behaves weirdly.
- enable visual mode
- start going left, the rightmost caracter is internnaly selected, but visually unselected (undesired)
- sometime, the visual seletion behaves unexpectedly around whitespace
-
test is a sample text
- if you start visual mode on the
s
, then hitright arrow
5 time to selectsample
, it will autoinclude the space (undesired), resulting insample
beeing selected
-