Windows Terminal配置
玩过windows10 terminal之后就不会想着去装其他的工具了,香是真香,windows terminal可以再windows store里直接安装,具体就不赘述了,请自行百度,这里只放上terminal的配置文件:
包括:分屏和快速移动焦点窗口
// This file was initially generated by Windows Terminal 1.6.10571.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": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
// 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": true,
// If enabled, formatted data is also copied to your clipboard
"copyFormatting": false,
"disabledProfileSources": ["Windows.Terminal.Azure", "Windows.Terminal.PowershellCore"],
"launchMode": "maximized",
"showTabsInTitlebar": 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.
},
"list":
[
{
"guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
"hidden": false,
"name": "Ubuntu-20.04",
"source": "Windows.Terminal.Wsl",
"colorScheme": "PaulMillr",
"cursorColor": "#FFFFFF",
"acrylicOpacity": 0.3,
"useAcrylic": false,
"fontFace": "Consolas",
"fontSize": 10,
"tabTitle": "Ubuntu-eric"
},
{
// Make changes here to the powershell.exe profile.
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
"commandline": "powershell.exe",
"colorScheme": "Zenburn",
"hidden": false
},
{
// Make changes here to the cmd.exe profile.
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "命令提示符",
"commandline": "cmd.exe",
"colorScheme": "Zenburn",
"hidden": false
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": false,
"name": "Azure Cloud Shell",
"colorScheme": "Zenburn",
"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": [
{
"name": "DimmedMonokai",
"black": "#3a3d43",
"red": "#be3f48",
"green": "#879a3b",
"yellow": "#c5a635",
"blue": "#4f76a1",
"purple": "#855c8d",
"cyan": "#578fa4",
"white": "#b9bcba",
"brightBlack": "#888987",
"brightRed": "#fb001f",
"brightGreen": "#0f722f",
"brightYellow": "#c47033",
"brightBlue": "#186de3",
"brightPurple": "#fb0067",
"brightCyan": "#2e706d",
"brightWhite": "#fdffb9",
"background": "#1f1f1f",
"foreground": "#b9bcba",
"selectionBackground": "#2a2d32",
"cursorColor": "#f83e19"
},
{
"name": "PaulMillr",
"black": "#2a2a2a",
"red": "#ff0000",
"green": "#79ff0f",
"yellow": "#e7bf00",
"blue": "#396bd7",
"purple": "#b449be",
"cyan": "#66ccff",
"white": "#bbbbbb",
"brightBlack": "#666666",
"brightRed": "#ff0080",
"brightGreen": "#66ff66",
"brightYellow": "#f3d64e",
"brightBlue": "#709aed",
"brightPurple": "#db67e6",
"brightCyan": "#7adff2",
"brightWhite": "#ffffff",
"background": "#000000",
"foreground": "#f2f2f2",
"selectionBackground": "#414141",
"cursorColor": "#4d4d4d"
},
{
"name": "Zenburn",
"black": "#4d4d4d",
"red": "#705050",
"green": "#60b48a",
"yellow": "#f0dfaf",
"blue": "#506070",
"purple": "#dc8cc3",
"cyan": "#8cd0d3",
"white": "#dcdccc",
"brightBlack": "#709080",
"brightRed": "#dca3a3",
"brightGreen": "#c3bf9f",
"brightYellow": "#e0cf9f",
"brightBlue": "#94bff3",
"brightPurple": "#ec93d3",
"brightCyan": "#93e0e3",
"brightWhite": "#ffffff",
"background": "#3f3f3f",
"foreground": "#dcdccc",
"selectionBackground": "#21322f",
"cursorColor": "#73635a"
}
],
// 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": "openSettings", "keys": "ctrl+p" },
{ "command": "closeTab", "keys": "ctrl+w" },
{ "command": "duplicateTab", "keys": "ctrl+d" },
{ "command": "openNewTabDropdown", "keys": "ctrl+shift+space" },
{ "command": "toggleFullscreen", "keys": "alt+enter" },
{"command": "find", "keys": "ctrl+f" },
{ "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" },
{ "command": {"action": "splitPane", "split": "horizontal", "splitMode": "duplicate"}, "keys": "alt+shift+-"},
{ "command": {"action": "splitPane", "split": "vertical", "splitMode": "duplicate"}, "keys": "alt+shift+plus"},
{ "command": { "action": "moveFocus", "direction": "down" }, "keys": "alt+j" },
{ "command": { "action": "moveFocus", "direction": "left" }, "keys": "alt+h" },
{ "command": { "action": "moveFocus", "direction": "right" }, "keys": "alt+l" },
{ "command": { "action": "moveFocus", "direction": "up" }, "keys": "alt+k" }
]
}