diff --git a/reference/5.1/PSReadLine/Set-PSReadLineKeyHandler.md b/reference/5.1/PSReadLine/Set-PSReadLineKeyHandler.md index eb9676e2c710..b7b0fbdc7da7 100644 --- a/reference/5.1/PSReadLine/Set-PSReadLineKeyHandler.md +++ b/reference/5.1/PSReadLine/Set-PSReadLineKeyHandler.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.PSReadLine2.dll-Help.xml Locale: en-US Module Name: PSReadline -ms.date: 12/13/2022 +ms.date: 10/02/2023 online version: https://learn.microsoft.com/powershell/module/psreadline/set-psreadlinekeyhandler?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: Set-PSReadLineKeyHandler @@ -32,7 +32,7 @@ Set-PSReadLineKeyHandler [-Chord] [-ViMode ] [-Function] [!NOTE] -> As of PSReadLine 2.0.0, the **Chord** parameter is **case-sensitive**. Meaning, -> Ctrl+X and Ctrl+x create different bindings. +Letter key references are defined using lowercase letters. If you want to define a chord that uses +an uppercase letter, the chord must include the **Shift** key. For example, `Ctrl+Shift+x` and +`Ctrl+x` create different bindings. This parameter accepts an array of strings. Each string is a separate binding, not a sequence of keys for a single binding. @@ -107,7 +105,7 @@ Accept wildcard characters: False ### -Description -Specifies a more detailed description of the key binding that is visible in the output of the +Specifies a more detailed description of the key binding that's visible in the output of the `Get-PSReadLineKeyHandler` cmdlet. ```yaml @@ -125,7 +123,7 @@ Accept wildcard characters: False ### -Function Specifies the name of an existing key handler provided by PSReadLine. This parameter lets you rebind -existing key bindings, or bind a handler that is currently unbound. +existing key bindings, or bind a handler that's currently unbound. ```yaml Type: System.String @@ -180,10 +178,9 @@ Accept wildcard characters: False ### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, --ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, --OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. -For more information, see +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, +-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, +-WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.2/PSReadLine/Set-PSReadLineKeyHandler.md b/reference/7.2/PSReadLine/Set-PSReadLineKeyHandler.md index 1be68402966c..c8cab4554a3d 100644 --- a/reference/7.2/PSReadLine/Set-PSReadLineKeyHandler.md +++ b/reference/7.2/PSReadLine/Set-PSReadLineKeyHandler.md @@ -2,11 +2,12 @@ external help file: Microsoft.PowerShell.PSReadLine2.dll-Help.xml Locale: en-US Module Name: PSReadLine -ms.date: 12/13/2022 +ms.date: 10/02/2023 online version: https://learn.microsoft.com/powershell/module/psreadline/set-psreadlinekeyhandler?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 title: Set-PSReadLineKeyHandler --- + # Set-PSReadLineKeyHandler ## SYNOPSIS @@ -31,7 +32,7 @@ Set-PSReadLineKeyHandler [-Chord] [-ViMode ] [-Function] [!NOTE] -> As of PSReadLine 2.0.0, the **Chord** parameter is **case-sensitive**. Meaning, -> Ctrl+X and Ctrl+x create different bindings. +Letter key references are defined using lowercase letters. If you want to define a chord that uses +an uppercase letter, the chord must include the **Shift** key. For example, `Ctrl+Shift+x` and +`Ctrl+x` create different bindings. This parameter accepts an array of strings. Each string is a separate binding, not a sequence of keys for a single binding. @@ -106,7 +105,7 @@ Accept wildcard characters: False ### -Description -Specifies a more detailed description of the key binding that is visible in the output of the +Specifies a more detailed description of the key binding that's visible in the output of the `Get-PSReadLineKeyHandler` cmdlet. ```yaml @@ -124,7 +123,7 @@ Accept wildcard characters: False ### -Function Specifies the name of an existing key handler provided by PSReadLine. This parameter lets you rebind -existing key bindings, or bind a handler that is currently unbound. +existing key bindings, or bind a handler that's currently unbound. ```yaml Type: System.String @@ -179,10 +178,9 @@ Accept wildcard characters: False ### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, --ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, --OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. -For more information, see +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, +-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, +-WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.3/PSReadLine/Set-PSReadLineKeyHandler.md b/reference/7.3/PSReadLine/Set-PSReadLineKeyHandler.md index 5ec1687f6fa6..af87a2da83b2 100644 --- a/reference/7.3/PSReadLine/Set-PSReadLineKeyHandler.md +++ b/reference/7.3/PSReadLine/Set-PSReadLineKeyHandler.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.PSReadLine2.dll-Help.xml Locale: en-US Module Name: PSReadLine -ms.date: 12/13/2022 +ms.date: 10/02/2023 online version: https://learn.microsoft.com/powershell/module/psreadline/set-psreadlinekeyhandler?view=powershell-7.3&WT.mc_id=ps-gethelp schema: 2.0.0 title: Set-PSReadLineKeyHandler @@ -32,7 +32,7 @@ Set-PSReadLineKeyHandler [-Chord] [-ViMode ] [-Function] [!NOTE] -> As of PSReadLine 2.0.0, the **Chord** parameter is **case-sensitive**. Meaning, -> Ctrl+X and Ctrl+x create different bindings. +Letter key references are defined using lowercase letters. If you want to define a chord that uses +an uppercase letter, the chord must include the **Shift** key. For example, `Ctrl+Shift+x` and +`Ctrl+x` create different bindings. This parameter accepts an array of strings. Each string is a separate binding, not a sequence of keys for a single binding. @@ -107,7 +105,7 @@ Accept wildcard characters: False ### -Description -Specifies a more detailed description of the key binding that is visible in the output of the +Specifies a more detailed description of the key binding that's visible in the output of the `Get-PSReadLineKeyHandler` cmdlet. ```yaml @@ -125,7 +123,7 @@ Accept wildcard characters: False ### -Function Specifies the name of an existing key handler provided by PSReadLine. This parameter lets you rebind -existing key bindings, or bind a handler that is currently unbound. +existing key bindings, or bind a handler that's currently unbound. ```yaml Type: System.String @@ -180,10 +178,9 @@ Accept wildcard characters: False ### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, --ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, --OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. -For more information, see +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, +-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, +-WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.4/PSReadLine/Set-PSReadLineKeyHandler.md b/reference/7.4/PSReadLine/Set-PSReadLineKeyHandler.md index 48f42f856025..47c1ffc7b4b2 100644 --- a/reference/7.4/PSReadLine/Set-PSReadLineKeyHandler.md +++ b/reference/7.4/PSReadLine/Set-PSReadLineKeyHandler.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.PSReadLine2.dll-Help.xml Locale: en-US Module Name: PSReadLine -ms.date: 12/13/2022 +ms.date: 10/02/2023 online version: https://learn.microsoft.com/powershell/module/psreadline/set-psreadlinekeyhandler?view=powershell-7.4&WT.mc_id=ps-gethelp schema: 2.0.0 title: Set-PSReadLineKeyHandler @@ -32,7 +32,7 @@ Set-PSReadLineKeyHandler [-Chord] [-ViMode ] [-Function] [!NOTE] -> As of PSReadLine 2.0.0, the **Chord** parameter is **case-sensitive**. Meaning, -> Ctrl+X and Ctrl+x create different bindings. +Letter key references are defined using lowercase letters. If you want to define a chord that uses +an uppercase letter, the chord must include the **Shift** key. For example, `Ctrl+Shift+x` and +`Ctrl+x` create different bindings. This parameter accepts an array of strings. Each string is a separate binding, not a sequence of keys for a single binding. @@ -107,7 +105,7 @@ Accept wildcard characters: False ### -Description -Specifies a more detailed description of the key binding that is visible in the output of the +Specifies a more detailed description of the key binding that's visible in the output of the `Get-PSReadLineKeyHandler` cmdlet. ```yaml @@ -125,7 +123,7 @@ Accept wildcard characters: False ### -Function Specifies the name of an existing key handler provided by PSReadLine. This parameter lets you rebind -existing key bindings, or bind a handler that is currently unbound. +existing key bindings, or bind a handler that's currently unbound. ```yaml Type: System.String @@ -180,10 +178,9 @@ Accept wildcard characters: False ### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, --ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, --OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. -For more information, see +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, +-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, +-WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS