You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there doesn't exist viopp. when user press 'd', 'c', 'y' in vicmd keymap, the cursor shape can not change. why don't add it?
Application
when i press 'S', 'ysiw', etc in visual, vicmd keymap, the selected region will disapper:
in visual keymap
after press 'S'
after press "("
the selected region disappear make me confused ( i am afraid i press 'd' to delete the word not 'S' ), so if i can change the sursor shape to '_' to indicate me i have pressed 'S' will be better. that is why i open this issue.
thanks!
The text was updated successfully, but these errors were encountered:
Hi, thank you for this bug report. I have two separate comments on it.
First, I don't get the behavior that the selected region disappears. For example,
type in the text abcd
press <Esc> then hvh: visual mode with bc selected
press S: line does not appear to change at all
press ": text is a"bc"d
Maybe it's because of Zsh version? Or some other plugin?
Second, I don't know of a way to get an event triggered in this instance. Zsh ZLE does not call the line-pre-redraw hook at this time (when you press S), so I don't have a way track it. I believe some other Vim-mode plugins avoid the ZLE hook mechanism and redefine key presses instead, and that approach might allow for more fine-grained control here.
I could be mistaken here, it seems odd to me that you're seeing a very different behavior. I have:
there doesn't exist viopp. when user press 'd', 'c', 'y' in vicmd keymap, the cursor shape can not change. why don't add it?
Application
when i press 'S', 'ysiw', etc in visual, vicmd keymap, the selected region will disapper:
in visual keymap
after press 'S'
after press "("
the selected region disappear make me confused ( i am afraid i press 'd' to delete the word not 'S' ), so if i can change the sursor shape to '_' to indicate me i have pressed 'S' will be better. that is why i open this issue.
thanks!
The text was updated successfully, but these errors were encountered: