Last active
June 8, 2021 07:30
-
-
Save murphypei/2d84d6e2289603c812a3e1b1516c0587 to your computer and use it in GitHub Desktop.
windows terminal setting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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", | |
"colorScheme": "", | |
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", | |
"disabledProfileSources": [ | |
"Windows.Terminal.Azure" | |
], | |
// 终端窗口默认大小 | |
"initialCols": 140, | |
"initialRows": 40, | |
// 亮色或暗色主题,可选值 "light", "dark", "system" | |
"requestedTheme": "dark", | |
// 合并标题栏和标签栏 | |
"showTabsInTitlebar": true, | |
// 如果 showTabsInTitlebar 与本值同为 false 时,自动隐藏标签栏 | |
"alwaysShowTabs": true, | |
// 在标题栏上显示当前活动标签页的标题 | |
"showTerminalTitleInTitlebar": true, | |
// 双击选择时用于分词的字符 | |
"wordDelimiters": " /\\()\"'-.,:;<>~!@#$%^&*|+=[]{}~?\u2502", | |
// 选择时复制到剪贴板 | |
"copyOnSelect": true, | |
// 标签页宽度不固定 | |
// "tabWidthMode": "titleLength", | |
"profiles": { | |
"defaults": { | |
"hidden": false, | |
"colorScheme": "Monokai Soda", | |
"acrylicOpacity": 1.0, | |
"useAcrylic": true, | |
"historySize": 9001, | |
"fontSize": 11, | |
"fontFace": "Sarasa Term SC", | |
"cursorShape": "bar", | |
"closeOnExit": true | |
}, | |
"list": [ | |
{ | |
// Make changes here to the powershell.exe profile | |
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", | |
"name": "Windows PowerShell", | |
"commandline": "powershell.exe" | |
}, | |
{ | |
// Make changes here to the cmd.exe profile | |
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", | |
"name": "cmd", | |
"commandline": "cmd.exe" | |
}, | |
{ | |
"guid": "{0aebf27b-43a1-4446-8e97-7bee953fa95f}", | |
"name": "jja107", | |
"commandline": "ssh jja107", | |
"icon": "ms-appdata:///roaming/gpu.png" | |
}, | |
{ | |
"guid": "{0aebf27b-43a1-4446-8e97-7bee953fa951}", | |
"name": "k8s006", | |
"commandline": "ssh k8s006", | |
"icon": "ms-appdata:///roaming/gpu.png" | |
}, | |
{ | |
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}", | |
"hidden": true, | |
"name": "Azure Cloud Shell", | |
"source": "Windows.Terminal.Azure" | |
}, | |
{ | |
"guid": "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}", | |
"hidden": false, | |
"name": "Ubuntu-18.04", | |
"source": "Windows.Terminal.Wsl" | |
}, | |
{ | |
"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", | |
"hidden": false, | |
"name": "PowerShell", | |
"source": "Windows.Terminal.PowershellCore", | |
"commandline": "C:/Program Files/PowerShell/7/pwsh.exe -nologo", | |
// 启动菜单一定要设置为 <.>,否则后面重要的一步将会无效! | |
"startingDirectory": "." | |
} | |
] | |
}, | |
// Add custom color schemes to this array | |
"schemes": [ | |
{ | |
"name": "Tango Dark", | |
"black": "#000000", | |
"red": "#cc0000", | |
"green": "#4e9a06", | |
"yellow": "#c4a000", | |
"blue": "#3465a4", | |
"purple": "#75507b", | |
"cyan": "#06989a", | |
"white": "#d3d7cf", | |
"brightBlack": "#555753", | |
"brightRed": "#ef2929", | |
"brightGreen": "#8ae234", | |
"brightYellow": "#fce94f", | |
"brightBlue": "#729fcf", | |
"brightPurple": "#ad7fa8", | |
"brightCyan": "#34e2e2", | |
"brightWhite": "#eeeeec", | |
"background": "#000000", | |
"foreground": "#D3D7CF" | |
}, | |
{ | |
"name": "Monokai Vivid", | |
"black": "#121212", | |
"red": "#fa2934", | |
"green": "#98e123", | |
"yellow": "#fff30a", | |
"blue": "#0443ff", | |
"purple": "#f800f8", | |
"cyan": "#01b6ed", | |
"white": "#ffffff", | |
"brightBlack": "#838383", | |
"brightRed": "#f6669d", | |
"brightGreen": "#b1e05f", | |
"brightYellow": "#fff26d", | |
"brightBlue": "#0443ff", | |
"brightPurple": "#f200f6", | |
"brightCyan": "#51ceff", | |
"brightWhite": "#ffffff", | |
"background": "#121212", | |
"foreground": "#f9f9f9" | |
}, | |
{ | |
"name": "Gruvbox Dark", | |
"black": "#1e1e1e", | |
"red": "#be0f17", | |
"green": "#868715", | |
"yellow": "#cc881a", | |
"blue": "#377375", | |
"purple": "#a04b73", | |
"cyan": "#578e57", | |
"white": "#978771", | |
"brightBlack": "#7f7061", | |
"brightRed": "#f73028", | |
"brightGreen": "#aab01e", | |
"brightYellow": "#f7b125", | |
"brightBlue": "#719586", | |
"brightPurple": "#c77089", | |
"brightCyan": "#7db669", | |
"brightWhite": "#e6d4a3", | |
"background": "#1e1e1e", | |
"foreground": "#e6d4a3" | |
}, | |
{ | |
"name": "Monokai Soda", | |
"black": "#1a1a1a", | |
"red": "#f4005f", | |
"green": "#98e024", | |
"yellow": "#fa8419", | |
"blue": "#9d65ff", | |
"purple": "#f4005f", | |
"cyan": "#58d1eb", | |
"white": "#c4c5b5", | |
"brightBlack": "#625e4c", | |
"brightRed": "#f4005f", | |
"brightGreen": "#98e024", | |
"brightYellow": "#e0d561", | |
"brightBlue": "#9d65ff", | |
"brightPurple": "#f4005f", | |
"brightCyan": "#58d1eb", | |
"brightWhite": "#f6f6ef", | |
"background": "#252525", | |
"foreground": "#c1c2b1" | |
}, | |
{ | |
"name": "Dracula", | |
"black": "#000000", | |
"red": "#ff5555", | |
"green": "#50fa7b", | |
"yellow": "#f1fa8c", | |
"blue": "#bd93f9", | |
"purple": "#ff79c6", | |
"cyan": "#8be9fd", | |
"white": "#bbbbbb", | |
"brightBlack": "#555555", | |
"brightRed": "#ff5555", | |
"brightGreen": "#50fa7b", | |
"brightYellow": "#f1fa8c", | |
"brightBlue": "#bd93f9", | |
"brightPurple": "#ff79c6", | |
"brightCyan": "#8be9fd", | |
"brightWhite": "#ffffff", | |
"background": "#1e1f29", | |
"foreground": "#f8f8f2" | |
}, | |
{ | |
"name": "Homebrew", | |
"black": "#000000", | |
"red": "#FC5275", | |
"green": "#00a600", | |
"yellow": "#999900", | |
"blue": "#6666e9", | |
"purple": "#b200b2", | |
"cyan": "#00a6b2", | |
"white": "#bfbfbf", | |
"brightBlack": "#666666", | |
"brightRed": "#e50000", | |
"brightGreen": "#00d900", | |
"brightYellow": "#e5e500", | |
"brightBlue": "#0000ff", | |
"brightPurple": "#e500e5", | |
"brightCyan": "#00e5e5", | |
"brightWhite": "#e5e5e5", | |
"background": "#283033", | |
"foreground": "#0a9e48" | |
}, | |
], | |
// Add any keybinding overrides to this array. | |
// To unbind a default keybinding, set the command to "unbound" | |
"keybindings": [ | |
{ | |
"command": "closeTab", | |
"keys": "ctrl+w" | |
}, | |
{ | |
"command": "newTab", | |
"keys": "ctrl+t" | |
}, | |
{ | |
"command": { | |
"action": "switchToTab", | |
"index": 0 | |
}, | |
"keys": "alt+1" | |
}, | |
{ | |
"command": { | |
"action": "switchToTab", | |
"index": 1 | |
}, | |
"keys": "alt+2" | |
}, | |
{ | |
"command": { | |
"action": "switchToTab", | |
"index": 2 | |
}, | |
"keys": "alt+3" | |
}, | |
{ | |
"command": { | |
"action": "switchToTab", | |
"index": 3 | |
}, | |
"keys": "alt+4" | |
}, | |
{ | |
"command": { | |
"action": "switchToTab", | |
"index": 4 | |
}, | |
"keys": "alt+5" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment