Skip to content

Instantly share code, notes, and snippets.

@koron
Last active August 16, 2020 04:31
Show Gist options
  • Select an option

  • Save koron/17b7e1a0f9914b82ccf2ccb573a1718b to your computer and use it in GitHub Desktop.

Select an option

Save koron/17b7e1a0f9914b82ccf2ccb573a1718b to your computer and use it in GitHub Desktop.
How to custimize Windows Terminal

Where: %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json

cd .config.\WindowsTerminal
mklink settings.json %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json

for preview version: %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminalPreview_8wekyb3d8bbwe\LocalState\settings.json

cd .config.\WindowsTerminal
mklink settings-preview.json %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"copyOnSelect": true,
"initialCols": 80,
"initialRows": 25,
"initialPosition": "0, 0",
"theme": "dark",
"tabWidthMode": "titleLength",
"snapToGridOnResize": true,
"profiles":
[
{
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "cmd",
"commandline": "%SystemRoot%\\System32\\cmd.exe",
"hidden": false,
"startingDirectory": "%HOME%",
"closeOnExit": true,
"colorScheme": "Tango Dark",
"cursorColor": "#FFFFFF",
"cursorShape": "vintage",
"fontFace": "Cica",
"fontSize": 10,
"antialiasingMode": "grayscale",
"historySize": 9001,
"icon": "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png",
"suppressApplicationTitle": true,
"padding": "3, 3, 3, 3",
"scrollbarState": "hidden"
},
{
"name": "ixeris",
"commandline": "%SystemRoot%\\System32\\OpenSSH\\ssh.exe ixeris",
"hidden": false,
"startingDirectory": "%HOME%",
"closeOnExit": true,
"colorScheme": "Tango Dark",
"cursorColor": "#FFFFFF",
"cursorShape": "vintage",
"fontFace": "Cica",
"fontSize": 10,
"antialiasingMode": "grayscale",
"historySize": 9001,
"icon": "ms-appx:///ProfileIcons/{550ce7b8-d500-50ad-8a1a-c400c3262db3}.png",
"suppressApplicationTitle": true,
"padding": "3, 3, 3, 3",
"scrollbarState": "hidden"
},
{
"name": "vesta",
"commandline": "%SystemRoot%\\System32\\OpenSSH\\ssh.exe vesta",
"hidden": false,
"startingDirectory": "%HOME%",
"closeOnExit": true,
"colorScheme": "Tango Dark",
"cursorColor": "#FFFFFF",
"cursorShape": "vintage",
"fontFace": "Cica",
"fontSize": 10,
"antialiasingMode": "grayscale",
"historySize": 9001,
"icon": "ms-appx:///ProfileIcons/{550ce7b8-d500-50ad-8a1a-c400c3262db3}.png",
"suppressApplicationTitle": true,
"padding": "3, 3, 3, 3",
"scrollbarState": "hidden"
},
{
"guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"name": "Ubuntu",
"commandline": "%SystemRoot%\\System32\\wsl.exe -d Ubuntu",
"hidden": false,
"startingDirectory": "%HOME%",
"closeOnExit": true,
"colorScheme": "Tango Dark",
"cursorColor": "#FFFFFF",
"cursorShape": "vintage",
"fontFace": "Cica",
"fontSize": 10,
"antialiasingMode": "grayscale",
"historySize": 9001,
"icon": "ms-appx:///ProfileIcons/{9acb9455-ca41-5af7-950f-6bca1bc9722f}.png",
"suppressApplicationTitle": true,
"padding": "3, 3, 3, 3",
"scrollbarState": "hidden"
},
{
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
"commandline": "%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
"hidden": false,
"startingDirectory": "%HOME%",
"closeOnExit": true,
"colorScheme": "Tango Dark",
"cursorColor": "#FFFFFF",
"cursorShape": "vintage",
"fontFace": "Cica",
"fontSize": 10,
"antialiasingMode": "grayscale",
"background": "#012456",
"historySize": 9001,
"icon": "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png",
"suppressApplicationTitle": true,
"tabTitle": "PowerShell",
"padding": "3, 3, 3, 3",
"scrollbarState": "hidden"
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": false,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure",
"suppressApplicationTitle": true,
"tabTitle": "Azure",
"padding": "3, 3, 3, 3",
"scrollbarState": "hidden"
}
],
"schemes": [],
"keybindings": [
{ "command": "commandPalette", "keys": ["ctrl+shift+space"] },
{ "command": { "action": "switchToTab", "index": 0 }, "keys": ["ctrl+1"] },
{ "command": { "action": "switchToTab", "index": 1 }, "keys": ["ctrl+2"] },
{ "command": { "action": "switchToTab", "index": 2 }, "keys": ["ctrl+3"] },
{ "command": { "action": "switchToTab", "index": 3 }, "keys": ["ctrl+4"] },
{ "command": { "action": "switchToTab", "index": 4 }, "keys": ["ctrl+5"] },
{ "command": "toggleFocusMode", "keys": ["ctrl+enter"] },
{ "command": { "action": "moveFocus", "direction": "down" }, "keys": [ "alt+j" ] },
{ "command": { "action": "moveFocus", "direction": "left" }, "keys": [ "alt+h" ] },
{ "command": { "action": "moveFocus", "direction": "right" }, "keys": [ "alt+l" ] },
{ "command": { "action": "moveFocus", "direction": "up" }, "keys": [ "alt+k" ] },
{ "command": { "action": "resizePane", "direction": "down" }, "keys": [ "alt+shift+j" ] },
{ "command": { "action": "resizePane", "direction": "left" }, "keys": [ "alt+shift+h" ] },
{ "command": { "action": "resizePane", "direction": "right" }, "keys": [ "alt+shift+l" ] },
{ "command": { "action": "resizePane", "direction": "up" }, "keys": [ "alt+shift+k" ] },
{ "command": { "action": "splitPane", "split": "horizontal"}, "keys": [ "alt+shift+s" ] },
{ "command": { "action": "splitPane", "split": "vertical"}, "keys": [ "alt+shift+v" ] }
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment