6 Ways to Customize Windows Terminal

Just another WordPress site

6 Ways to Customize Windows Terminal

It’s time to start using the new Microsoft Windows Terminal. Get rid of the conhost.exe, cmd.exe, and switch to Windows Terminal with PowerShell.
Windows 10 offers a lot of new features for admins and users alike, including unicode font support and custom key bindings. Themes) and a command palette that is similar to Visual Studio Code. All of these features can be configured easily or automated by a file called settings.json that is located in your user profile. Get Windows 10 training to learn more about settings.json.
Auto-completion makes setting customization even easier if you use a text editor that supports JSON schema such as Visual Studio Code. You don’t need to know the structure of the settings files or refer to documentation as often. Instead, the editor will prompt for you to enter the correct settings for each section in the configuration file.
Custom Key Bindings for Terminal
A solid grasp of keyboard controls is a surefire way for productivity to increase. Windows Terminal has made it possible to display custom key bindings.
Learn how to become a security expert with SPOTO’s Cybersecurity Training
Start training. The root-level keybindings property of Windows Terminal settings.json allows to set your own key bindings for various commands within Windows Terminal. Terminal commands include creating new tabs, closing tabs, moving focus between panes and copying and pasting content.
Some commands are simple commands that don’t require additional input arguments. Others are more complex and require input arguments. There are two types of key binding specifications to accommodate each type.
Here’s an example for a basic key binding. You only need to specify the command and keys properties. Notice how the command is a simple string value along with the keys.
“command”:”paste”, “keys”: “ctrl+v”. A more complex command requires you to specify some custom arguments that are specific for that command type. Notice how the command property in this example is actually a nested children object and not just a string. The command name is instead placed in the action property of the child objects.
“command” is “splitPane”, “action”, “splitMode”, “duplicate”,, “keys”,: “alt+shift+d”I encourage to spend some time adding custom key bindings to get to know the process.
Built-in Terminal Pane Management
Although tmux isn’t natively available on Windows, you can still enjoy the benefits of splitting your terminal into multiple panels with Windows Terminal. There are two keyboard shortcuts that can split the active or current pane into two, either horizontally or vertically.
The keyboard shortcut ALT + SHIFT + MINUS splits the pane horizontally. The ALT + SHIFT + PLUS shortcut creates vertical splits.
You might be able to notice that the default active Terminal profile is not used to create the new pane after a split operation. Windows Terminal can be configured to use the same active profile in the new pane. Below is an example configuration.
“command” is “splitPane”, “action”, “splitMode”, “duplicate”,, “keys:”alt+shift+d”The SplitMode of duplicate causes the active profile’s replication to the new Terminal pane.

Once you have multiple Terminal panes open, you can use ALT +ARROW KEYS for quick navigation between them.