ViMode crashed during c-F ViReplaceToCharBackward operation, attempting to specify ^ beginning of line. #4423
Labels
Needs-Triage 🔍
It's a new issue that core contributor team needs to triage.
Prerequisites
Exception report
Screenshot
just after the exception:
what was in my buffer the moment before:
Environment data
Steps to reproduce
repro:
Set-PSReadlineOption -editMode vi
Esc
to switch to vi command modec F ^ c F
^
a final time, and the exception will occur.screenshot here: #4423 (comment)
unfortunately I am unable to reproduce the issue in a fresh pwsh tab.PLEASE STAND BY... I have been able to reproduce this in a fresh environment, by attempting the operation twice. I keep getting interrupted, but I intend to provide a full repro later today.Expected behavior
Not sure what I would expect, because I was just experimenting with Vi mode, trying to remove spaces from the beginning of a line. As far as I know, the key keystrokes that I was using are not a valid way of performing the operation that I was attempting; I was just experimenting to see what would happen.
Larger context: I was trying to unindent a block of code which I had cut from below with 'd 8 d', and then pasted at the top with a 'p' command.
Actual behavior
** BOOM **
The text was updated successfully, but these errors were encountered: