Ctrl+RightArrow key handled by NextWord can now move the cursor word-by-word while the user is both editing the line and accepting suggestions
Keep Nextword the default handler of Ctrl+RightArrow with an additional feature
The Ctrl+RightArrow key is consistent and intuitive for the two operations
PR Checklist
[x] PR has a meaningful title
Use the present tense and imperative mood when describing your changes
[x] Summarized changes
[x] Make sure you've added one or more new tests
[x] Make sure you've tested these changes in terminals that PowerShell is commonly used in (i.e. conhost.exe, Windows Terminal, Visual Studio Code Integrated Terminal, etc.)
PR Summary
Ctrl+RightArrow
key handled byNextWord
can now move the cursor word-by-word while the user is both editing the line and accepting suggestionsNextword
the default handler ofCtrl+RightArrow
with an additional featureCtrl+RightArrow
key is consistent and intuitive for the two operationsPR Checklist
User-facing changes
Microsoft Reviewers: Open in CodeFlow