Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BackwardKillWord will delete two word #4275

Open
3 tasks done
mrbeardad opened this issue Nov 16, 2024 · 0 comments
Open
3 tasks done

BackwardKillWord will delete two word #4275

mrbeardad opened this issue Nov 16, 2024 · 0 comments
Labels
Needs-Triage 🔍 It's a new issue that core contributor team needs to triage.

Comments

@mrbeardad
Copy link

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • 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

  1. type test --
  2. press ctrl-w
  3. 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 --

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage 🔍 It's a new issue that core contributor team needs to triage. label Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Triage 🔍 It's a new issue that core contributor team needs to triage.
Projects
None yet
Development

No branches or pull requests

1 participant