external help file | Module Name | online version | schema |
---|---|---|---|
WTToolBox-help.xml |
WTToolBox |
2.0.0 |
Display Windows Terminal key binding information.
Get-WTKeyBinding [-Action <String>] [<CommonParameters>]
Get Windows Terminal key binding settings. If a keybinding from your settings.json file has the same key combination as a default, the default setting is overwritten. Use the Action parameter to filter for specific types of actions.
PS C:\Get-WTKeyBinding
Get Windows Terminal key bindings and display in the default formatted table view.
PS C:\> Get-WTKeyBinding -Action *font* | Format-List
Source: Defaults
Action : adjustFontSize
ActionSettings : delta = 1
Keys : ctrl+=
Action : adjustFontSize
ActionSettings : delta = -1
Keys : ctrl+-
Action : resetFontSize
ActionSettings :
Keys : ctrl+0
Display a specific action. Wildcards are permitted.
PS C:\> Get-WTKeyBinding | where keys | sort keys | Format-Table -view keys
Keys ActionSettings Action Source
---- -------------- ------ ------
alt+down direction = down moveFocus Defaults
alt+enter toggleFullscreen Defaults
alt+f4 closeWindow Defaults
alt+left direction = left moveFocus Defaults
alt+right direction = right moveFocus Defaults
alt+shift+- split = horizontal splitPane Defaults
...
Get all key bindings where a key combination has been assigned and display the results the Keys table view.
Select an action type. The command should autocomplete possible choices.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
This command has an alias of gwtk.
Learn more about PowerShell: http://jdhitsolutions.com/blog/essential-powershell-resources/