You can use Command Palette to duplicate a tab, open the default settings file, increase the font size, move a tab backward, open Settings, close all other tabs, toggle fullscreen, duplicate pane, etc. More than 100 actions can be accessed and used from Command Palette. Before you can try this feature, make sure you are using the updated version of Windows Terminal.

How to open Command Palette in Windows Terminal

There are two ways to open Command Palette:

Change hotkey to open Command Palette

If you don’t want to use the default hotkey, then follow these steps to set a custom hotkey for Command Palette:

Press Ctrl+, to open the Settings tabClick on the Actions available on the left sectionScroll down the list of available actions to access the Toggle command palette actionClick on the Edit icon for that actionEnter a hotkey combination in the available box using the accepted modifiers like ctrl+, alt+, shift+, etc.Press the Accept button (blue tick)Press the Save button.

How to use Command Palette in Windows Terminal

Once you have opened the Command Palette, it will be ready to serve you. This feature works similarly to some application launcher software. You will be provided with a search bar or text box where you can type a command name or some letters and matching commands/actions will be visible to you in its panel. Or else, you can simply scroll down the Command Palette panel to see the list of all available actions. For some actions, the associated hotkey will also be visible in its panel. Once you have accessed an action, press the Enter key, and it will trigger that action.

Use Command Palette with Command-line mode

Command Palette feature also supports command line mode that lets you enter or run a wt command which is a very useful feature. For doing this, remove > from the search bar or text box of Command Palette and type wt with a command and a parameter associated with that command. For example, if you want to create a new split window pane horizontally with a default profile, then the command would be: In the same way, you can execute other supported wt commands from Command Palette. You can find more information about using command line arguments in Windows Terminal including commands (like Focus-tab command, Split-pane command, New-tab command, and more), paraments, description, etc., from docs.microsoft.com.

How do I access the Command Palette?

To access the Command Palette in Windows Terminal, you can either use the default hotkey (Ctrl+Shift+P) or click on the Command Palette option present in the drop-down menu of the Windows Terminal interface. The option to change the default hotkey for opening the Command Palette is also present. You can read this post to know more about Command Palette.

How do I open a Command window from the Terminal?

There are multiple ways to open a Command Prompt window using Windows Terminal. For example, you can: Hope this helps. Read next: How to reset Windows Terminal settings to default.

How to open and use Command Palette in Windows Terminal - 83How to open and use Command Palette in Windows Terminal - 82