目录

windows-terminal配置文件settings json的一些个人配置与注释

# 版本:1.0.1811.0

//该文件最初由Windows终端1.0.1811.0生成
//在更新的版本中它应该仍然可用,但是更新的版本可能有额外的设置、帮助文本或更改,除非您清除此文件并让我们为您生成一个新文件,否则您将看不到这些更改。

//要查看默认设置,按住alt键同时点击“设置”按钮。
//有关这些设置的文档,请参见:https://aka.ms/terminal-documentation
{
    "$schema": "https://aka.ms/terminal-profiles-schema",

    "defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",

    //你可以在这里添加更多的全局应用设置。
    //要了解更多关于全局设置的信息,请访问https://aka.ms/terminal-global-settings

    //如果启用,选择将自动复制到剪贴板。
    "copyOnSelect": false,

    //如果启用,格式化的数据也会复制到剪贴板
    "copyFormatting": false,

    //配置文件指定要执行的命令与关于它应该如何外观和感觉的信息配对。
    //每一个都将出现在“New Tab”下拉菜单中,
    //可以通过命令行' wt.exe -p xxx '调用。
    //要了解关于配置文件的更多信息,请访问https://aka.ms/terminal-profile-settings
    "profiles":
    {
        //将你想应用于所有配置文件的设置放在这里。
        "defaults":
        {
            //启动毛玻璃
            "useAcrylic":true,
            //毛玻璃透明度
            "acrylicOpacity":0.6,
            //关闭窗口的时候退出所有挂载的程序
            "closeOnExit" : true,
            //输入的时候自动滚动到输入位置 
            "snapOnInput" : true ,
            //字体 等距跟纱
            "fontFace":"Sarasa Mono T SC",
            //字体大小
            "fontSize":14,
            //如果设置为 true,则关闭多个选项卡处于打开状态的窗口时,需要确认。 如果设置为 false,则关闭多个选项卡处于打开状态的窗口时,不需要确认。
            "confirmCloseAllTabs":true,
            //此方法控制呈现器中文本的消除锯齿方式。 请注意,更改此设置将需要启动新的终端实例。
            "antialiasingMode":"cleartype",
            //光标颜色
            "cursorColor":"#06ed50",
            //启动时的窗口位置,以x,y坐标形式
            "initialPosition":"0,0"
        },
        "list":
        [
            
            {
                "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
                "name": "PowerShell 7",
                "source": "Windows.Terminal.PowershellCore",
                "hidden": false,
                "colorScheme":"Dracula MOD"
            },
            {
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "name": "Windows PowerShell",
                "commandline": "powershell.exe",
                "hidden": false
            },
            {
                "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
                "name": "命令提示符",
                "commandline": "cmd.exe",
                "hidden": false
            },
            {
                "guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
                "hidden": false,
                "name": "Ubuntu-20.04",
                "source": "Windows.Terminal.Wsl"
            },
            {
                "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
                "hidden": false,
                "name": "Azure Cloud Shell",
                "source": "Windows.Terminal.Azure"
            }
        ]
    },

    //在数组中添加自定义的配色方案。
    //要了解更多配色方案,请访问https://aka.ms/terminal-colorscheme
    //开源配色方案: https://github.com/mbadolato/iTerm2-Color-Schemes#cobalt-neon
    "schemes": [
        {
            "name" : "Dracula MOD",
            "background" : "#2c2d36",
            "black" : "#000000",
            "blue" : "#001d7e",
            "brightBlack" : "#abb7da",
            "brightBlue" : "#D6ACFF",
            "brightCyan" : "#A4FFFF",
            "brightGreen" : "#69FF94",
            "brightPurple" : "#FF92DF",
            "brightRed" : "#fa9090",
            "brightWhite" : "#FFFFFF",
            "brightYellow" : "#FFFFA5",
            "cyan" : "#8BE9FD",
            "foreground" : "#F8F8F2",
            "green" : "#32df5a",
            "purple" : "#FF79C6",
            "red" : "#fa9c4f",
            "white" : "#F8F8F2",
            "yellow" : "#F1FA8C"
        },
        {
           "name":"Atom",
            "foreground": "#c5c8c6",
            "background": "#161719",
            "black": "#000000",
            "blue": "#85befd",
            "cyan": "#85befd",
            "green": "#87c38a",
            "magenta": "#b9b6fc",
            "red": "#fd5ff1",
            "white": "#e0e0e0",
            "yellow": "#ffd7b1",
            "brightBlack": "#000000",
            "brightBlue": "#96cbfe",
            "brightCyan": "#85befd",
            "brightGreen": "#94fa36",
            "brightMagenta": "#b9b6fc",
            "brightRed": "#fd5ff1",
            "brightWhite": "#e0e0e0",
            "brightYellow": "#f5ffa8"
        
        }
    ],

    // Add custom keybindings to this array.
    // To unbind a key combination from your defaults.json, set the command to "unbound".
    // To learn more about keybindings, visit https://aka.ms/terminal-keybindings
    "keybindings":
    [
        // 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": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" }
    ]
}

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
上次更新: 2024-01-03, 13:22:13
最近更新
01
2023年度总结
01-03
02
MongoDB的简单的常用语法
12-11
03
cetnos7通过nfs共享磁盘文件
11-24
更多文章>