Windows Terminal 使用技巧
安装
直接在 Windows 10 的 应用商店
里面安装。
- 桌面左下角点击 窗口图标, 输入
store
, 点击打开 应用商店。 - 点击右上角搜索图标,输入
terminal
,选择Windows Terminal
- 根据提示选择安装即可。
设定缺省shell
先找到 “profiles” 配置项,
"profiles":
{
"defaults":
{
// Put settings here that you want to apply to all profiles.
"background": "#193549",
"black": "#000000",
"blue": "#1478DB",
"brightBlack": "#808080",
"brightBlue": "#1478DB",
"brightCyan": "#00ffff",
"brightGreen": "#33ff00",
"brightPurple": "#cc00ff",
"brightRed": "#ff0000",
"brightWhite": "#ffffff",
"brightYellow": "#ffff00",
"cyan": "#00c5c7",
"foreground": "#c7c7c7",
"green": "#3AD900",
"name": "Cobalt2",
"purple": "#ff2c70",
"red": "#ff2600",
"white": "#c7c7c7",
"yellow": "#ffc600"
},
"list":
[
{
// Make changes here to the powershell.exe profile.
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "PowerShell",
"commandline": "powershell.exe",
"hidden": false,
"backgroundImage": "E:/document/terminal.jpg", //图片地址
"backgroundImageOpacity" : 0.5, //透明度
"useAcrylic":false //关闭毛玻璃效果
},
设定选中即复制
修改 “copyOnSelect” 选项的值为 true
,如下所示
"copyOnSelect": true,
快捷键
快捷键 | 用处 |
---|---|
Shift +Alt ++/=
|
横向打开新控制台 |
Shift +Alt +_/-
|
纵向打开新控制台 |
Shift +Alt +方向键
|
控制控制台尺寸 |
Alt +方向键
|
在本标签内切换控制台 |
Ctrl +Shift +w
|
关闭当前控制台 |