If you wish to open and use Command Palette in Home windows Terminal on a Home windows 11/10 pc, then this submit can be useful. Earlier, this characteristic was current in Home windows Terminal Preview, however now you may use Home windows Terminal together with the Command Palette characteristic in its secure model. This Command Palette characteristic enables you to entry and use actions or instructions that may be run inside Home windows Terminal.
You need to use Command Palette to duplicate a tab, open the default settings file, enhance the font dimension, transfer a tab backward, open Settings, shut all different tabs, toggle fullscreen, duplicate pane, and so on. Greater than 100 actions might be accessed and used from Command Palette. Earlier than you may do this characteristic, ensure you are utilizing the up to date model of Home windows Terminal.
The best way to open Command Palette in Home windows Terminal
There are two methods to open Command Palette:
- The quickest solution to open Command Palette is by urgent the Ctrl+Shift+P hotkey. That is the default hotkey which you’ll change anytime
- It’s also possible to click on on the drop-down icon subsequent to Open a brand new tab icon (plus icon), and choose the Command Palette choice, as seen within the picture above.
Change hotkey to open Command Palette
For those who don’t wish to use the default hotkey, then comply with these steps to set a customized hotkey for Command Palette:
- Press Ctrl+, to open the Settings tab
- Click on on the Actions accessible on the left part
- Scroll down the record of accessible actions to entry the Toggle command palette motion
- Click on on the Edit icon for that motion
- Enter a hotkey mixture within the accessible field utilizing the accepted modifiers like ctrl+, alt+, shift+, and so on.
- Press the Settle for button (blue tick)
- Press the Save button.
The best way to use Command Palette in Home windows Terminal
After getting opened the Command Palette, it is going to be able to serve you. This characteristic works equally to some utility launcher software program. You may be supplied with a search bar or textual content field the place you may kind a command identify or some letters and matching instructions/actions can be seen to you in its panel.
Or else, you may merely scroll down the Command Palette panel to see the record of all accessible actions. For some actions, the related hotkey can even be seen in its panel. After getting accessed an motion, press the Enter key, and it’ll set off that motion.
Associated: Home windows Terminal Ideas and Tips to make you’re employed like a Professional.
Use Command Palette with Command-line mode
Command Palette characteristic additionally helps command line mode that permits you to enter or run a wt command which is a really helpful characteristic.
For doing this, take away > from the search bar or textual content field of Command Palette and kind wt with a command and a parameter related to that command. For instance, if you wish to create a brand new break up window pane horizontally with a default profile, then the command can be:
wt split-pane –horizontal
In the identical approach, you may execute different supported wt instructions from Command Palette. You’ll find extra details about utilizing command line arguments in Home windows Terminal together with instructions (like Focus-tab command, Cut up-pane command, New-tab command, and extra), paraments, description, and so on., from docs.microsoft.com.
How do I entry the Command Palette?
To entry the Command Palette in Home windows Terminal, you may both use the default hotkey (Ctrl+Shift+P) or click on on the Command Palette choice current within the drop-down menu of the Home windows Terminal interface. The choice to vary the default hotkey for opening the Command Palette can be current. You’ll be able to learn this submit to know extra about Command Palette.
How do I open a Command window from the Terminal?
There are a number of methods to open a Command Immediate window utilizing Home windows Terminal. For instance, you may:
- Use the default Ctrl+Shift+2 hotkey. It will work solely when this key binding is current in Home windows Terminal
- Use the drop-down icon current subsequent to the + icon on the highest a part of Home windows Terminal and choose the Command Immediate choice.
Hope this helps.
Learn subsequent: The best way to reset Home windows Terminal settings to default.