Skip to content

Instantly share code, notes, and snippets.

@hapo31
Created May 14, 2020 18:05
Show Gist options
  • Save hapo31/cd5e1a0ff6b8a7d0ba95c2cf4e104e84 to your computer and use it in GitHub Desktop.
Save hapo31/cd5e1a0ff6b8a7d0ba95c2cf4e104e84 to your computer and use it in GitHub Desktop.
WindowsTerminal の設定
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"alwaysShowTabs": true,
"defaultProfile": "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}",
"initialCols": 120,
"initialRows": 30,
"keybindings": [
// Application-level Keys
{ "command": "closeWindow", "keys": "alt+f4" },
{ "command": "toggleFullscreen", "keys": "alt+enter" },
{ "command": "toggleFullscreen", "keys": "f11" },
{ "command": "openNewTabDropdown", "keys": "ctrl+shift+space" },
{ "command": "openSettings", "keys": "ctrl+," },
{ "command": "find", "keys": "ctrl+shift+f" },
// Tab Management
// "command": "closeTab" is unbound by default.
// The closeTab command closes a tab without confirmation, even if it has multiple panes.
{ "command": "newTab", "keys": "ctrl+shift+t" },
{ "command": { "action": "newTab", "index": 0 }, "keys": "ctrl+shift+1" },
{ "command": { "action": "newTab", "index": 1 }, "keys": "ctrl+shift+2" },
{ "command": { "action": "newTab", "index": 2 }, "keys": "ctrl+shift+3" },
{ "command": { "action": "newTab", "index": 3 }, "keys": "ctrl+shift+4" },
{ "command": { "action": "newTab", "index": 4 }, "keys": "ctrl+shift+5" },
{ "command": { "action": "newTab", "index": 5 }, "keys": "ctrl+shift+6" },
{ "command": { "action": "newTab", "index": 6 }, "keys": "ctrl+shift+7" },
{ "command": { "action": "newTab", "index": 7 }, "keys": "ctrl+shift+8" },
{ "command": { "action": "newTab", "index": 8 }, "keys": "ctrl+shift+9" },
{ "command": "duplicateTab", "keys": "ctrl+shift+d" },
{ "command": "nextTab", "keys": "ctrl+tab" },
{ "command": "prevTab", "keys": "ctrl+shift+tab" },
{
"command": { "action": "switchToTab", "index": 0 },
"keys": "ctrl+alt+1"
},
{
"command": { "action": "switchToTab", "index": 1 },
"keys": "ctrl+alt+2"
},
{
"command": { "action": "switchToTab", "index": 2 },
"keys": "ctrl+alt+3"
},
{
"command": { "action": "switchToTab", "index": 3 },
"keys": "ctrl+alt+4"
},
{
"command": { "action": "switchToTab", "index": 4 },
"keys": "ctrl+alt+5"
},
{
"command": { "action": "switchToTab", "index": 5 },
"keys": "ctrl+alt+6"
},
{
"command": { "action": "switchToTab", "index": 6 },
"keys": "ctrl+alt+7"
},
{
"command": { "action": "switchToTab", "index": 7 },
"keys": "ctrl+alt+8"
},
{
"command": { "action": "switchToTab", "index": 8 },
"keys": "ctrl+alt+9"
},
// Pane Management
{ "command": "closePane", "keys": "ctrl+shift+w" },
{
"command": {
"action": "splitPane",
"split": "horizontal",
"splitMode": "duplicate"
},
"keys": "shift+alt+-"
},
{
"command": {
"action": "splitPane",
"split": "vertical",
"splitMode": "duplicate"
},
"keys": "shift+alt+plus"
},
{
"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": "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"
},
// Clipboard Integration
{
"command": { "action": "copy", "singleLine": false },
"keys": "ctrl+shift+c"
},
{
"command": { "action": "copy", "singleLine": false },
"keys": "ctrl+insert"
},
{ "command": "paste", "keys": "ctrl+shift+v" },
{ "command": "paste", "keys": "shift+insert" },
// Scrollback
{ "command": "scrollDown", "keys": "ctrl+shift+down" },
{ "command": "scrollDownPage", "keys": "ctrl+shift+pgdn" },
{ "command": "scrollUp", "keys": "ctrl+shift+up" },
{ "command": "scrollUpPage", "keys": "ctrl+shift+pgup" },
// Visual Adjustments
{
"command": { "action": "adjustFontSize", "delta": 1 },
"keys": "ctrl+="
},
{
"command": { "action": "adjustFontSize", "delta": -1 },
"keys": "ctrl+-"
},
{ "command": "resetFontSize", "keys": "ctrl+0" }
],
"requestedTheme": "system",
"showTabsInTitlebar": true,
"showTerminalTitleInTitlebar": true,
"wordDelimiters": " ./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}~?\u2502",
"profiles": {
"defaults": {
"acrylicOpacity": 0.75,
"closeOnExit": true,
"fontFace": "源ノ角ゴシック Code JP",
"fontSize": 10,
"padding": "0, 0, 0, 0",
"snapOnInput": true,
"useAcrylic": true,
"hidden": false,
"backgroundImageAlignment": "bottomRight",
"backgroundImageOpacity": 0.1,
"backgroundImageStretchMode": "none",
"startingDirectory": "%USERPROFILE%"
},
"list": [
{
"name": "Ubuntu-18.04",
"icon": "D:\\OneDrive\\appicon\\ubuntu.png",
"guid": "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}",
"commandline": "wsl.exe -d Ubuntu-18.04",
"colorScheme": "Ubuntu-Dark",
"backgroundImage": "D:\\OneDrive\\appicon\\ubuntu.png"
},
{
"name": "Powershell",
"colorScheme": "Campbell Powershell",
"icon": "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png",
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"backgroundImage": "D:\\OneDrive\\appicon\\powershell.png",
"commandline": "powershell.exe"
},
{
"name": "cmd",
"icon": "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png",
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"backgroundImage": "D:\\OneDrive\\appicon\\cmd.png",
"commandline": "cmd.exe"
},
{
"name": "Ubuntu",
"icon": "ms-appx:///ProfileIcons/{9acb9455-ca41-5af7-950f-6bca1bc9722f}.png",
"guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"commandline": "wsl.exe -d Ubuntu"
},
{
"name": "Azure Cloud Shell",
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": true,
"source": "Windows.Terminal.Azure"
},
{
"name": "WLinux",
"guid": "{7f586916-8357-53d4-bb2b-ca96f639898a}",
"hidden": false,
"source": "Windows.Terminal.Wsl"
}
]
},
"schemes": [
{
"background": "#0C0C0C",
"black": "#0C0C0C",
"blue": "#0037DA",
"brightBlack": "#767676",
"brightBlue": "#3B78FF",
"brightCyan": "#61D6D6",
"brightGreen": "#16C60C",
"brightPurple": "#B4009E",
"brightRed": "#E74856",
"brightWhite": "#F2F2F2",
"brightYellow": "#F9F1A5",
"cyan": "#3A96DD",
"foreground": "#F2F2F2",
"green": "#13A10E",
"name": "Campbell",
"purple": "#881798",
"red": "#C50F1F",
"white": "#CCCCCC",
"yellow": "#C19C00"
},
{
"background": "#282C34",
"black": "#282C34",
"blue": "#61AFEF",
"brightBlack": "#5A6374",
"brightBlue": "#61AFEF",
"brightCyan": "#56B6C2",
"brightGreen": "#98C379",
"brightPurple": "#C678DD",
"brightRed": "#E06C75",
"brightWhite": "#DCDFE4",
"brightYellow": "#E5C07B",
"cyan": "#56B6C2",
"foreground": "#DCDFE4",
"green": "#98C379",
"name": "One Half Dark",
"purple": "#C678DD",
"red": "#E06C75",
"white": "#DCDFE4",
"yellow": "#E5C07B"
},
{
"background": "#FAFAFA",
"black": "#383A42",
"blue": "#0184BC",
"brightBlack": "#4F525D",
"brightBlue": "#61AFEF",
"brightCyan": "#56B5C1",
"brightGreen": "#98C379",
"brightPurple": "#C577DD",
"brightRed": "#DF6C75",
"brightWhite": "#FFFFFF",
"brightYellow": "#E4C07A",
"cyan": "#0997B3",
"foreground": "#383A42",
"green": "#50A14F",
"name": "One Half Light",
"purple": "#A626A4",
"red": "#E45649",
"white": "#FAFAFA",
"yellow": "#C18301"
},
{
"background": "#073642",
"black": "#073642",
"blue": "#268BD2",
"brightBlack": "#002B36",
"brightBlue": "#839496",
"brightCyan": "#93A1A1",
"brightGreen": "#586E75",
"brightPurple": "#6C71C4",
"brightRed": "#CB4B16",
"brightWhite": "#FDF6E3",
"brightYellow": "#657B83",
"cyan": "#2AA198",
"foreground": "#FDF6E3",
"green": "#859900",
"name": "Solarized Dark",
"purple": "#D33682",
"red": "#D30102",
"white": "#EEE8D5",
"yellow": "#B58900"
},
{
"background": "#FDF6E3",
"black": "#073642",
"blue": "#268BD2",
"brightBlack": "#002B36",
"brightBlue": "#839496",
"brightCyan": "#93A1A1",
"brightGreen": "#586E75",
"brightPurple": "#6C71C4",
"brightRed": "#CB4B16",
"brightWhite": "#FDF6E3",
"brightYellow": "#657B83",
"cyan": "#2AA198",
"foreground": "#073642",
"green": "#859900",
"name": "Solarized Light",
"purple": "#D33682",
"red": "#D30102",
"white": "#EEE8D5",
"yellow": "#B58900"
},
{
"name": "Campbell Powershell",
"foreground": "#CCCCCC",
"background": "#012456",
"cursorColor": "#FFFFFF",
"black": "#0C0C0C",
"red": "#C50F1F",
"green": "#13A10E",
"yellow": "#C19C00",
"blue": "#0037DA",
"purple": "#881798",
"cyan": "#3A96DD",
"white": "#CCCCCC",
"brightBlack": "#767676",
"brightRed": "#E74856",
"brightGreen": "#16C60C",
"brightYellow": "#F9F1A5",
"brightBlue": "#3B78FF",
"brightPurple": "#B4009E",
"brightCyan": "#61D6D6",
"brightWhite": "#F2F2F2"
},
{
"name": "Ubuntu-Dark",
"foreground": "#C0C0C0",
"background": "#2C001E",
"cursorColor": "#FFFFFF",
"black": "#000000",
"red": "#800000",
"green": "#008000",
"yellow": "#808000",
"blue": "#000080",
"purple": "#800080",
"cyan": "#008080",
"white": "#C0C0C0",
"brightBlack": "#808080",
"brightRed": "#FF0000",
"brightGreen": "#00FF00",
"brightYellow": "#FFFF00",
"brightBlue": "#0000FF",
"brightPurple": "#FF00FF",
"brightCyan": "#00FFFF",
"brightWhite": "#FFFFFF"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment