Skip to content

Instantly share code, notes, and snippets.

@mikepianka
Last active October 22, 2020 13:26
Show Gist options
  • Save mikepianka/064d995b905eeb09c265e377feea5994 to your computer and use it in GitHub Desktop.
Save mikepianka/064d995b905eeb09c265e377feea5994 to your computer and use it in GitHub Desktop.
Windows Terminal Starter

Keyboard Shortcuts ⌨️

Open Windows Terminal WIN + R then wt

Close Windows Terminal ALT + F4

Open Powershell CTRL + SHIFT + 1

Open CMD CTRL + SHIFT + 2

Open Bash CTRL + SHIFT + 3

Open Python w/ Arcpy env (Windows) CTRL + SHIFT + 4

Open Python (Linux) CTRL + SHIFT + 5

Open Azure Cloud Shell CTRL + SHIFT + 6

New pane, same shell ALT + SHIFT + D

New pane, different shell ALT + CLICK DROPDOWN

Change pane ALT + ARROW KEYS

Resize pane ALT + SHIFT + ARROW KEYS

Close pane CTRL + SHIFT + W

Switch Tab CTRL + SHIFT + TAB

Scroll Up/Down CTRL + SHIFT + ARROW KEYS

// This file was initially generated by Windows Terminal 1.3.2651.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": "{00000000-0000-0000-0000-000000000000}",
// 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,
// Set initial position and size
"initialRows": 30,
"initialCols": 80,
"initialPosition": "0,0",
"alwaysOnTop": true,
// 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.
"cursorShape": "vintage"
},
"list": [
{
// Make changes here to the powershell.exe profile.
"guid": "{11111111-1111-1111-1111-111111111111}",
"name": "PowerShell ⚑",
"commandline": "powershell.exe",
"hidden": false,
"colorScheme": "Vintage",
"backgroundImage": "C:/Users/xxxxxx/Pictures/powershell.png",
"backgroundImageOpacity": 0.2,
"backgroundImageStretchMode": "uniform",
"useAcrylic": true,
"acrylicOpacity": 0.7,
"background": "#000000"
},
{
// Make changes here to the cmd.exe profile.
"guid": "{{00000000-0000-0000-0000-000000000000}}",
"name": "Command Prompt πŸ’»",
"commandline": "cmd.exe",
"hidden": false,
"colorScheme": "Campbell",
"useAcrylic": true,
"acrylicOpacity": 0.7,
"experimental.retroTerminalEffect": true
},
{
"guid": "{22222222-2222-2222-2222-222222222222}",
"hidden": false,
"name": "Ubuntu 🐧",
"tabTitle": "Ubuntu",
"source": "Windows.Terminal.Wsl",
"colorScheme": "Tango Dark",
"backgroundImage": "C:/Users/xxxxxx/Pictures/tux.jpg",
"backgroundImageOpacity": 0.6,
"backgroundImageStretchMode": "fill",
"useAcrylic": true,
"acrylicOpacity": 0.6
},
{
"guid": "{55555555-5555-5555-5555-555555555555}",
"hidden": false,
"name": "Arcpy 🌍🐍",
"tabTitle": "Arcpy 🌍🐍",
"commandline": "\"C:\\Program Files\\ArcGIS\\Pro\\bin\\Python\\Scripts\\proenv.bat\"",
"colorScheme": "Tango Dark",
"backgroundImage": "C:/Users/xxxxxx/Pictures/python.png",
"backgroundImageOpacity": 0.1,
"backgroundImageStretchMode": "uniform",
"useAcrylic": true,
"acrylicOpacity": 0.6,
"fontFace": "Cascadia Code"
},
{
"guid": "{33333333-3333-3333-3333-333333333333}",
"hidden": false,
"name": "Linux Python 🐧🐍",
"tabTitle": "Linux Python 🐧🐍",
"commandline": "wsl python3",
"colorScheme": "Tango Dark",
"backgroundImage": "C:/Users/xxxxxx/Pictures/pytux.png",
"backgroundImageOpacity": 0.2,
"backgroundImageStretchMode": "fill",
"useAcrylic": true,
"acrylicOpacity": 0.6,
"fontFace": "Cascadia Code"
},
{
"guid": "{44444444-4444-4444-4444-444444444444}",
"hidden": false,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
}
]
},
// 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"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment