Skip to content

Instantly share code, notes, and snippets.

@milnak
Last active December 31, 2020 18:07
Show Gist options
  • Save milnak/167e39fb097a08de16b88a129a91ba0b to your computer and use it in GitHub Desktop.
Save milnak/167e39fb097a08de16b88a129a91ba0b to your computer and use it in GitHub Desktop.
Windows Terminal 1.0 configuration file - %LocalAppData%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"alwaysShowTabs": true,
"copyOnSelect": false,
"copyFormatting": false,
"defaultProfile": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"initialCols": 120,
"initialRows": 40,
"keybindings": [
{
"command": {
"action": "adjustFontSize",
"delta": 1
},
"keys": [
"ctrl+plus"
]
},
{
"command": {
"action": "adjustFontSize",
"delta": -1
},
"keys": [
"ctrl+-"
]
},
// "command": "closeOtherTabs"
{
"command": "closePane",
"keys": [
"ctrl+shift+w"
]
},
// "command": "closeTab"
// "command": "closeTabsAfter"
{
"command": "closeWindow",
"keys": [
"ctrl+shift+q"
]
},
// "command": "commandPalette"
{
"command": {
"action": "copy",
"singleline": false
},
"keys": [
"ctrl+shift+c"
]
},
// "command": "duplicateTab"
{
"command": "find",
"keys": [
"ctrl+shift+f"
]
},
// "command": "moveFocus"
{
"command": "newTab",
"keys": [
"ctrl+shift+t"
]
},
{
"command": "nextTab",
"keys": [
"ctrl+pgdn"
]
},
// "command": "openNewTabDropdown"
// "command": "openSettings"
// "command": "openTabColorPicker"
{
"command": "paste",
"keys": [
"ctrl+shift+v"
]
},
{
"command": "prevTab",
"keys": [
"ctrl+pgup"
]
},
// "command": "renameTab"
{
"command": "resetFontSize",
"keys": [
"ctrl+0"
]
},
// "command": "resizePane"
{
"command": "scrollDown",
"keys": [
"ctrl+shift+down"
]
},
{
"command": "scrollDownPage",
"keys": [
"ctrl+shift+pgdn"
]
},
{
"command": "scrollUp",
"keys": [
"ctrl+shift+up"
]
},
{
"command": "scrollUpPage",
"keys": [
"ctrl+shift+pgup"
]
},
// "command": "sendInput"
// "command": "setColorScheme"
// "command": "setTabColor"
// "command": "splitPane"
{
"command": {
"action": "switchToTab",
"index": 0
},
"keys": [
"alt+1"
]
},
{
"command": {
"action": "switchToTab",
"index": 1
},
"keys": [
"alt+2"
]
},
{
"command": {
"action": "switchToTab",
"index": 2
},
"keys": [
"alt+3"
]
},
{
"command": {
"action": "switchToTab",
"index": 3
},
"keys": [
"alt+4"
]
},
{
"command": {
"action": "switchToTab",
"index": 4
},
"keys": [
"alt+5"
]
},
{
"command": {
"action": "switchToTab",
"index": 5
},
"keys": [
"alt+6"
]
},
{
"command": {
"action": "switchToTab",
"index": 6
},
"keys": [
"alt+7"
]
},
{
"command": {
"action": "switchToTab",
"index": 7
},
"keys": [
"alt+8"
]
},
{
"command": {
"action": "switchToTab",
"index": 8
},
"keys": [
"alt+9"
]
},
// "command": "tabSearch"
// "command": "toggleAlwaysOnTop"
// "command": "toggleFocusMode"
{
"command": "toggleFullscreen",
"keys": [
"f11"
]
},
// "command": "togglePaneZoom"
// "command": "toggleRetroEffect"
{
"command": {
"action": "wt",
"commandline": "powershell -Command \"Start-Process 'wt' -Verb runAs\""
},
"keys": "ctrl+f12"
}
],
"theme": "system",
"showTabsInTitlebar": true,
"showTerminalTitleInTitlebar": true,
"snapToGridOnResize": true,
"tabWidthMode": "equal",
"wordDelimiters": " .//()\"'-:,.;<>~!@#$%^&*|+=[]{}~?│",
"schemes": [],
"profiles": [
{
// cmd
"closeOnExit": "always",
"commandline": "cmd.exe",
"cursorColor": "#c0c000",
"cursorShape": "emptyBox",
"fontFace": "Lucida Console",
"fontSize": 10,
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"historySize": 9001,
"icon": "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png",
"name": "cmd",
"padding": "1, 1, 1, 1",
"scrollbarState": "visible",
"snapOnInput": true,
"startingDirectory": "%USERPROFILE%",
"useAcrylic": false
},
{
// PowerShell
"background": "#000000",
"closeOnExit": "always",
"commandline": "powershell.exe",
"cursorColor": "#FFFFFF",
"cursorShape": "emptyBox",
"fontFace": "Lucida Console",
"fontSize": 9,
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"historySize": 9001,
"icon": "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png",
"name": "PowerShell",
"padding": "1, 1, 1, 1",
"scrollbarState": "visible",
"snapOnInput": true,
"startingDirectory": "%USERPROFILE%",
"useAcrylic": false
},
{
// Ubuntu
"closeOnExit": "always",
"guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"hidden": false,
"name": "Ubuntu",
"source": "Windows.Terminal.Wsl"
},
{
// x64 Native Tools Command Prompt for VS 2019
"closeOnExit": "always",
"fontFace": "Consolas",
"fontSize": 12,
"colorScheme": "One Half Dark",
"guid": "{444226FA-04DE-4EC4-B529-0C00EAD16A82}",
// https://github.com/microsoft/terminal/tree/main/src/cascadia/CascadiaPackage/ProfileIcons
"icon": "ms-appx:///ProfileIcons/{574e775e-4f2a-5b96-ac1e-a2962a402336}.png",
"name": "x64 Native Tools Command Prompt for VS 2019",
"commandline": "%comspec% /k \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Auxiliary\\Build\\vcvars64.bat\"",
"startingDirectory": "~",
"hidden": false
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": true,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
}
]
}
@milnak
Copy link
Author

milnak commented Dec 18, 2020

Added comments for each unused command.
Added Ctrl+F12 to open elevated terminal window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment