PSReadLine
PSReadLine copied to clipboard
BackwardKillWord will delete two word
Prerequisites
- [X] Write a descriptive title.
- [X] Make sure you are able to repro it on the latest released version
- [X] Search the existing issues, especially the pinned issues.
Exception report
N/A
Screenshot
N/A
Environment data
Set-PSReadLineKeyHandler -ViMode Insert -Key Ctrl+w -Function BackwardKillWord
Steps to reproduce
- type
test -- - press
ctrl-w test --are both deleted
Expected behavior
Only delete the -- or -- but keep test which is before <space>
Actual behavior
ctrl-w will delete the both two word test and --