Shift+Space not working in Powershell
It seems like you need to update the PowerShellGet
and PSReadLine
Module to make shift+space
work again.
- Open PowerShell as admin
- Run
install-module -name powershellget -force
- Restart PowerShell (as admin)
- Run
install-module -name psreadline -allowprerelease -force
- Restart PowerShell again
This should do it and it should work again.
Source: https://www.reddit.com/r/sysadmin/comments/9n9mh0/powershell_51_shiftspace_problem/
This seems to be "broken" again in PowerShell 5.1.x. That is, Get-PSReadLineKeyHandler
shows no mapping associated with Shift+Spacebar
, and pressing shift+space has no effect whatsoever.
Explicitly enabling it with Set-PSReadLineKeyHandler -Chord Shift+Spacebar -Function SelfInsert
fixes the issue (pressing shift+space inserts space character), but the mapping will not show in the Get-PSReadLineKeyHandler
listing as is, but as plain Space
mapping.