Skip to content

Instantly share code, notes, and snippets.

@ellemenno
Last active December 12, 2021 09:03
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 ellemenno/bf058d39e1cccb3b2045fb08ede396a0 to your computer and use it in GitHub Desktop.
Save ellemenno/bf058d39e1cccb3b2045fb08ede396a0 to your computer and use it in GitHub Desktop.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
// To learn more about global settings, visit https://aka.ms/terminal-global-settings
{
"$schema": "https://aka.ms/terminal-profiles-schema",
// profile to use when typing ctrl+shift+t, the newTab key binding, running wt new-tab without specifying a profile, or clicking the '+' icon
"defaultProfile": "{2c4de342-38b7-51cf-b940-2309a097f518}",
// application theme (different than terminal color scheme). "system" will use the same theme as Windows, e.g. dark
"theme": "system",
// when true, selections are automatically copied to clipboard
"copyOnSelect": false,
// when true, clipboard data retains formatting info
"copyFormatting": false,
// when true, the title bar reflects the title of the selected tab; else "Windows Terminal"
"showTerminalTitleInTitlebar": true,
// A profile specifies a command to execute paired with information about look and feel
// Each profile creates a new option in the 'New Tab' dropdown
// Profiles can be invoked from the commandline with `wt.exe -p <name>`
// To learn more about profiles, visit https://aka.ms/terminal-profile-settings
"profiles":
{
"defaults":
{
// settings here apply to all profiles
"font-face": "Cascadia Mono",
"fontWeight": "light",
"padding": "4, 2, 4, 2",
"suppressApplicationTitle": false
},
"list":
[
{
"name": "wsl",
"hidden": false,
"guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"source": "Windows.Terminal.Wsl",
"cursorShape": "vintage",
"cursorHeight": 25,
"colorScheme": "afterglow+"
},
{
"name": "cmd",
"hidden": false,
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
// "commandline": "cmd.exe",
"commandline": "cmd /k \"%USERPROFILE%\\Dropbox\\PortableApps\\CommandPromptPortable\\Data\\Batch\\windows_terminal.bat\"",
"startingDirectory": "",
"cursorShape": "vintage",
"cursorHeight": 100,
"colorScheme": "amber",
"experimental.retroTerminalEffect": true,
"fontSize": 14
}
]
},
// Add custom color schemes to this array.
// To learn more about color schemes, visit https://aka.ms/terminal-color-schemes
"schemes": [
{
"name" : "amber", // inspiration - https://i.imgur.com/horcZ.png
"cursorColor": "#ffe334",
"selectionBackground": "#923400",
"background" : "#150400",
"foreground" : "#ffcb28",
"black" : "#150400",
"red" : "#551400",
"green" : "#822c00",
"yellow" : "#923400",
"blue" : "#cf6100",
"purple" : "#df6d00",
"cyan" : "#ff9a04",
"white" : "#ffae18",
"brightBlack" : "#2c0800",
"brightRed" : "#6d2000",
"brightGreen" : "#a64500",
"brightYellow" : "#ba5100",
"brightBlue" : "#ef7900",
"brightPurple" : "#fb8600",
"brightCyan" : "#ffcb28",
"brightWhite" : "#ffe334"
},
{
"name": "green", // inspiration - https://i.imgur.com/horcZ.png
"cursorColor": "#34FF5D",
"selectionBackground": "#001703",
"background": "#000000",
"foreground": "#09E033",
"black": "#000F03",
"red": "#00330C",
"green": "#034A12",
"yellow": "#045E15",
"blue": "#037A1E",
"purple": "#049120",
"cyan": "#07AD29",
"white": "#08C72C",
"brightBlack": "#002408",
"brightRed": "#023D0F",
"brightGreen": "#035713",
"brightYellow": "#056B18",
"brightBlue": "#058F20",
"brightPurple": "#09BD2C",
"brightCyan": "#14FF45",
"brightWhite": "#34FF5D"
},
{
"name": "afterglow+", // https://windowsterminalthemes.dev/?theme=Afterglow + the darks filled in
"cursorColor": "#f5f5f5",
"selectionBackground": "#151515",
"background": "#212121",
"foreground": "#d0d0d0",
"black": "#151515",
"red": "#6d292a",
"green": "#434c2b",
"yellow": "#b58a45",
"blue": "#426179",
"purple": "#673055",
"cyan": "#4a8883",
"white": "#949494",
"brightBlack": "#505050",
"brightRed": "#ac4142",
"brightGreen": "#7e8e50",
"brightYellow": "#e5b567",
"brightBlue": "#6c99bb",
"brightPurple": "#9f4e85",
"brightCyan": "#7dd6cf",
"brightWhite": "#f5f5f5"
}
],
// 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
"actions":
[
// Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json.
// These two lines additionally bind them to Ctrl+C and Ctrl+V.
// To learn more about selection, visit https://aka.ms/terminal-selection
{ "command": {"action": "copy", "singleLine": false }, "keys": "ctrl+c" },
{ "command": "paste", "keys": "ctrl+v" },
// Press Ctrl+Shift+F to open the search box
{ "command": "find", "keys": "ctrl+shift+f" },
// Press Alt+Shift+D to open a new pane.
// - "split": "auto" makes this pane open in the direction that provides the most surface area.
// - "splitMode": "duplicate" makes the new pane use the focused pane's profile.
// To learn more about panes, visit https://aka.ms/terminal-panes
{ "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" }
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment