Skip to content

Instantly share code, notes, and snippets.

@NA-Dev
Last active July 8, 2020 19:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NA-Dev/1dd9e8bc4d8873d93b84cc07bb5ec55f to your computer and use it in GitHub Desktop.
Save NA-Dev/1dd9e8bc4d8873d93b84cc07bb5ec55f to your computer and use it in GitHub Desktop.
Sample configuration for Windows Terminal
// This file was initially generated by Windows Terminal 1.0.1401.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{2c4de342-38b7-51cf-b940-2309a097f518}",
// To learn more about global settings, visit https://aka.ms/terminal-global-settings
"copyOnSelect": true,
"copyFormatting": false,
"showTabsInTitlebar": true,
"showTerminalTitleInTitlebar": true,
"alwaysShowTabs": true,
"tabWidthMode": "equal",
"confirmCloseAllTabs": false,
"initialCols": 120,
"initialRows": 30,
"theme": "dark",
// Add custom keybindings to this array.
// To unbind a key combination from your defaults.json, set the command to "unbound".
// To learn more about keybindings, visit https://aka.ms/terminal-keybindings
"keybindings": [
{
"command": "closeTab",
"keys": [
"ctrl+w"
]
},
{
"command": "newTab",
"keys": [
"ctrl+t"
]
},
{
"command": "newTabProfile0",
"keys": [
"ctrl+shift+1"
]
},
{
"command": "newTabProfile1",
"keys": [
"ctrl+shift+2"
]
},
{
"command": "newTabProfile2",
"keys": [
"ctrl+shift+3"
]
},
{
"command": "newTabProfile3",
"keys": [
"ctrl+shift+4"
]
},
{
"command": "newTabProfile4",
"keys": [
"ctrl+shift+5"
]
},
{
"command": "newTabProfile5",
"keys": [
"ctrl+shift+6"
]
},
{
"command": "newTabProfile6",
"keys": [
"ctrl+shift+7"
]
},
{
"command": "newTabProfile7",
"keys": [
"ctrl+shift+8"
]
},
{
"command": "newTabProfile8",
"keys": [
"ctrl+shift+9"
]
},
{
"command": "nextTab",
"keys": [
"ctrl+tab"
]
},
{
"command": "prevTab",
"keys": [
"ctrl+shift+tab"
]
},
{
"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": "switchToTab0",
"keys": [
"alt+1"
]
},
{
"command": "switchToTab1",
"keys": [
"alt+2"
]
},
{
"command": "switchToTab2",
"keys": [
"alt+3"
]
},
{
"command": "switchToTab3",
"keys": [
"alt+4"
]
},
{
"command": "switchToTab4",
"keys": [
"alt+5"
]
},
{
"command": "switchToTab5",
"keys": [
"alt+6"
]
},
{
"command": "switchToTab6",
"keys": [
"alt+7"
]
},
{
"command": "switchToTab7",
"keys": [
"alt+8"
]
},
{
"command": "switchToTab8",
"keys": [
"alt+9"
]
}
],
"wordDelimiters": " ./\\()\"\u0027-:,.;\u003c\u003e~!@#$%^\u0026*|+=[]{}~?�",
// A profile specifies a command to execute paired with information about how it should look and feel.
// Each one of them will appear in the 'New Tab' dropdown,
// and can be invoked from the commandline with `wt.exe -p xxx`
// To learn more about profiles, visit https://aka.ms/terminal-profile-settings
"profiles": {
"defaults": {
"acrylicOpacity": 0.85000002384185791,
"background": "#012456",
"closeOnExit": false,
"colorScheme": "Solarized Dark",
"cursorColor": "#FFFFFF",
"cursorShape": "bar",
"fontFace": "Fira Code",
"fontSize": 12,
"historySize": 9001,
"padding": "0, 0, 0, 0",
"snapOnInput": true,
"useAcrylic": true,
"startingDirectory": "%USERPROFILE%"
},
"list": [
{
"guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"name": "Ubuntu",
"source": "Windows.Terminal.Wsl",
"startingDirectory": "//wsl$/Ubuntu/home/nadev"
},
{
"commandline": "\"%PROGRAMFILES%\\git\\usr\\bin\\bash.exe\" -i -l",
"guid": "{8d04ce37-c00f-43ac-ba47-992cb1393215}",
"name": "Git Bash",
"tabTitle": "Bash",
"icon": "%PROGRAMFILES%\\Git\\mingw64\\share\\git\\git-for-windows.ico"
},
{
"guid": "{ef46a4a5-4d93-4d2f-9f0f-73bd5cb34e24}",
"commandline": "cmd.exe /k \"%USERPROFILE%\\Miniconda3\\Scripts\\activate.bat %USERPROFILE%\\Miniconda3\"",
"icon": "%USERPROFILE%/Miniconda3/Menu/Iconleak-Atrous-Console.ico",
"name": "Miniconda3",
"tabTitle": "Miniconda"
},
{
"guid": "{ef46a4a5-4d93-4d2f-9f0f-73bd5cb34e24}",
"commandline": "cmd.exe /k \"%USERPROFILE%\\anaconda3\\Scripts\\activate.bat %USERPROFILE%\\anaconda3\"",
"icon": "%USERPROFILE%/anaconda3/Menu/anaconda-navigator.ico",
"name": "Anaconda3",
"tabTitle": "Anaconda"
},
{
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "Command Prompt",
"tabTitle": "Cmd",
"commandline": "cmd.exe",
"hidden": true
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": true,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure",
"commandline": "Azure",
"tabTitle": "Azure"
},
{
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "PowerShell",
"commandline": "powershell.exe",
"tabTitle": "PowerShell"
},
{
"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"hidden": true,
"name": "PowerShell",
"source": "Windows.Terminal.PowershellCore"
}
]
},
// Add custom color schemes to this array.
// To learn more about color schemes, visit https://aka.ms/terminal-color-schemes
"schemes": [
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment