Skip to content

Instantly share code, notes, and snippets.

@serg06
Last active March 18, 2021 16:25
Show Gist options
  • Save serg06/cb419f51a675d03efaf7d0eb556a56fe to your computer and use it in GitHub Desktop.
Save serg06/cb419f51a675d03efaf7d0eb556a56fe to your computer and use it in GitHub Desktop.
Windows Terminal settings
// This file was initially generated by Windows Terminal 1.4.3243.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": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
// You can add more global application settings here.
// To learn more about global settings, visit https://aka.ms/terminal-global-settings
// If enabled, selections are automatically copied to your clipboard.
"copyOnSelect": false,
// If enabled, formatted data is also copied to your clipboard
"copyFormatting": false,
// 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":
{
// Put settings here that you want to apply to all profiles.
"bellStyle": "none"
},
"list":
[
{
// Make changes here to the cmd.exe profile.
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "Command Prompt",
"commandline": "cmd.exe",
},
{
"guid": "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}",
"name": "Ubuntu-18.04",
"source": "Windows.Terminal.Wsl"
},
{
// CUSTOM: Add Anaconda
"guid": "{0caa0dad-35be-5f56-a8ff-afceee452369}",
"name": "Anaconda",
"icon": "%USERPROFILE%/Anaconda3/Menu/anaconda-navigator.ico",
"commandline": "cmd.exe /K %USERPROFILE%\\Anaconda3\\Scripts\\activate.bat && cd %USERPROFILE%",
},
// {
// // CUSTOM: Add Miniconda
// "guid": "{0caa0dad-35be-5f56-a8ff-afceee452369}",
// "name": "Anaconda",
// "icon": "%USERPROFILE%/miniconda3/Menu/Iconleak-Atrous-Console.ico",
// "commandline": "cmd.exe /K %USERPROFILE%\\miniconda3\\Scripts\\activate.bat && cd %USERPROFILE%",
// },
{
// CUSTOM: Add Git Bash
"guid": "{00000000-0000-0000-ba54-000000000002}",
"commandline": "%PROGRAMFILES%/Git/bin/bash.exe --cd-to-home -l -i",
"icon": "%PROGRAMFILES%/Git/mingw64/share/git/git-for-windows.ico",
"name" : "Git Bash",
"startingDirectory" : "%USERPROFILE%"
},
// {
// "guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
// "hidden": false,
// "name": "Ubuntu-20.04",
// "source": "Windows.Terminal.Wsl"
// },
// {
// "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
// "hidden": false,
// "name": "Ubuntu",
// "source": "Windows.Terminal.Wsl"
// },
{
// Make changes here to the powershell.exe profile.
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
"commandline": "powershell.exe",
"hidden": true
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure",
"hidden": true
}
]
},
// Add custom color schemes to this array.
// To learn more about color schemes, visit https://aka.ms/terminal-color-schemes
"schemes": [],
// Add custom actions and keybindings to this array.
// To unbind a key combination from your defaults.json, set the command to "unbound".
// To learn more about actions and 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" },
// CUSTOM: Press Alt+Shift+# to split pane with that type of console
{ "command": { "action": "splitPane", "split": "auto", "index": 0 }, "keys": "alt+shift+1" },
{ "command": { "action": "splitPane", "split": "auto", "index": 1 }, "keys": "alt+shift+2" },
{ "command": { "action": "splitPane", "split": "auto", "index": 2 }, "keys": "alt+shift+3" },
{ "command": { "action": "splitPane", "split": "auto", "index": 3 }, "keys": "alt+shift+4" },
{ "command": { "action": "splitPane", "split": "auto", "index": 4 }, "keys": "alt+shift+5" },
{ "command": { "action": "splitPane", "split": "auto", "index": 5 }, "keys": "alt+shift+6" },
{ "command": { "action": "splitPane", "split": "auto", "index": 6 }, "keys": "alt+shift+7" },
{ "command": { "action": "splitPane", "split": "auto", "index": 7 }, "keys": "alt+shift+8" },
{ "command": { "action": "splitPane", "split": "auto", "index": 8 }, "keys": "alt+shift+9" }
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment