Skip to content

Instantly share code, notes, and snippets.

@justahero
Last active April 26, 2020 10:20
Show Gist options
  • Save justahero/43d9d8de58d5419f305b0e21f5b8a62d to your computer and use it in GitHub Desktop.
Save justahero/43d9d8de58d5419f305b0e21f5b8a62d to your computer and use it in GitHub Desktop.
Windows Terminal Profiles, for a similar experience as on OSX / Linux
// 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}",
"profiles":
{
"defaults":
{
// Put settings here that you want to apply to all profiles
},
"list":
[
{
// Make changes here to the powershell.exe profile
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
"commandline": "powershell.exe",
"hidden": false
},
{
// Make changes here to the cmd.exe profile
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "cmd",
"commandline": "cmd.exe",
"hidden": false
},
{
"guid": "{58ad8b0c-3ef8-5f4d-bc6f-13e4c00f2530}",
"hidden": false,
"name": "Debian",
"source": "Windows.Terminal.Wsl"
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": false,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
},
{
"guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"hidden": false,
"name": "Ubuntu",
"source": "Windows.Terminal.Wsl",
"fontSize": 10,
"fontFace": "Consolas",
"cursorShape": "vintage",
"historySize": 9000,
"startingDirectory": "/home/justahero",
"padding": "4, 4, 4, 4",
"tabTitle": "Ubuntu",
"snapOnInput": true,
"cursorColor": "#c0c0c0"
}
]
},
// Add custom color schemes to this array
"schemes": [],
// Add any keybinding overrides to this array.
// To unbind a default keybinding, set the command to "unbound"
"keybindings": [
{
"command": {
"action": "splitPane",
"split": "horizontal"
},
"keys": [
"alt+shift+d"
]
},
{
"command": {
"action": "splitPane",
"split": "vertical"
},
"keys": [
"alt+d"
]
},
{
"command": "closePane",
"keys": [
"alt+w"
]
},
{
"command": "newTab",
"keys": [
"ctrl+t"
]
},
{
"command": {
"action": "moveFocus",
"direction": "down"
},
"keys": [
"alt+down"
]
},
{
"command": {
"action": "moveFocus",
"direction": "left"
},
"keys": [
"alt+left"
]
},
{
"command": {
"action": "moveFocus",
"direction": "right"
},
"keys": [
"alt+right"
]
},
{
"command": {
"action": "moveFocus",
"direction": "up"
},
"keys": [
"alt+up"
]
},
{
"command": {
"action": "resizePane",
"direction": "down"
},
"keys": [
"alt+shift+down"
]
},
{
"command": {
"action": "resizePane",
"direction": "left"
},
"keys": [
"alt+shift+left"
]
},
{
"command": {
"action": "resizePane",
"direction": "right"
},
"keys": [
"alt+shift+right"
]
},
{
"command": {
"action": "resizePane",
"direction": "up"
},
"keys": [
"alt+shift+up"
]
},
{
"command": {
"action": "adjustFontSize",
"delta": -1
},
"keys": "ctrl+-"
},
{
"command": {
"action": "adjustFontSize",
"delta": 1
},
"keys": "ctrl+plus"
},
{
"command": {
"action": "copy",
"singleLine": false
},
"keys": [
"ctrl+c"
]
},
{
"command": "paste",
"keys": [
"ctrl+v"
]
},
{
"command": "find",
"keys": [
"ctrl+f"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment