windows-terminal设置

// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
    "$schema": "https://aka.ms/terminal-profiles-schema",
    "defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
    "theme": "dark",
    "confirmCloseAllTabs": false,
    "copyOnSelect": true,
    "copyFormatting": true,

    // To learn more about profiles, visit https://aka.ms/terminal-profile-settings
    "profiles": {
        "defaults": {
        	// turn off the beep
         	"bellStyle": "none",
            "cursorShape": "underscore",
            "colorScheme": "One Half Dark",
            "background": "#1e1e1e",
            "selectionBackground": "#1062cc",
            "fontFace": "fira code retina",
            "fontSize": 13,
            "icon": null,
            "historySize": 1024
        },
        "list": [
            {
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "name": "PS5",
                "hidden": true,
                "commandline": "powershell.exe"
            },
            {
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "name": "PS6",
                "hidden": false,
                "source": "Windows.Terminal.PowershellCore"
            },
            {
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "name": "Cmd",
                "hidden": false,
                "commandline": "cmd.exe"
            },
            {
                "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
                "name": "Azure Cloud Shell",
                "hidden": true,
                "source": "Windows.Terminal.Azure"
            }
        ]
    },

    // To learn more about color schemes, visit https://aka.ms/terminal-color-schemes
    "schemes": [],

    // To learn more about keybindings, visit https://aka.ms/terminal-keybindings
    "keybindings": [
        { "command": "paste", "keys": "alt+insert" },
        { "command": "find", "keys": "alt+f" },
        { "command": "closeTab", "keys": "ctrl+w" },
        { "command": "newTab", "keys": "ctrl+t" },
        { "command": "openSettings", "keys": "ctrl+," },
        { "command": "toggleFullscreen", "keys": "alt+enter" },
        { "command": "toggleFullscreen", "keys": "f11" },
        { "command": "nextTab", "keys": "ctrl+alt+left" },
        { "command": "prevTab", "keys": "ctrl+alt+right" },
        {
            "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" }
    ]
}

参考

  1. https://zhuanlan.zhihu.com/p/258825679
  2. https://docs.microsoft.com/zh-cn/windows/terminal/customize-settings/actions
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值