From 060aaf5820ada5a90e8b585990325d076f8a81f3 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Fri, 14 Jul 2023 13:04:31 +0100 Subject: [PATCH] PowerShell: Make Shift-Space work properly --- roles/home-cli/files/Microsoft.PowerShell_profile.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/home-cli/files/Microsoft.PowerShell_profile.ps1 b/roles/home-cli/files/Microsoft.PowerShell_profile.ps1 index 61822d3..6964856 100644 --- a/roles/home-cli/files/Microsoft.PowerShell_profile.ps1 +++ b/roles/home-cli/files/Microsoft.PowerShell_profile.ps1 @@ -85,6 +85,7 @@ Set-PSReadLineKeyHandler -Chord Ctrl+LeftArrow -Function BackwardWord Set-PSReadLineKeyHandler -Chord Ctrl+RightArrow -Function ForwardWord Set-PSReadLineKeyHandler -Chord Ctrl+Backspace -Function BackwardKillWord Set-PSReadLineKeyHandler -Chord Ctrl+Delete -Function KillWord +Set-PSReadLineKeyHandler -Chord Shift+Spacebar -Function SelfInsert # Keep this at the end. $LocalProfilePath = Join-Path -Path "$PSScriptRoot" -ChildPath "local.ps1"