This commit is contained in:
Klesh Wong 2021-06-06 17:24:43 +08:00
parent 66e2530ddd
commit 5faae3be15
3 changed files with 322 additions and 135 deletions

View File

@ -1,136 +1,322 @@
// This file was initially generated by Windows Terminal 1.4.3243.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", "$schema": "https://aka.ms/terminal-profiles-schema",
//"initialPosition": "2118,0", // Add custom actions and keybindings to this array.
//"initialRows": 71, // To unbind a key combination from your defaults.json, set the command to "unbound".
//"initialCols": 142, // To learn more about actions and keybindings, visit https://aka.ms/terminal-keybindings
"actions":
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", [
// Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json.
// You can add more global application settings here. // These two lines additionally bind them to Ctrl+C and Ctrl+V.
// To learn more about global settings, visit https://aka.ms/terminal-global-settings // To learn more about selection, visit https://aka.ms/terminal-selection
// { "command": { "action": "copy", "singleLine": false }, "keys": "ctrl+c" },
// If enabled, selections are automatically copied to your clipboard. // { "command": "paste", "keys": "ctrl+v" },
"copyOnSelect": false, // AMD Radeon Software might use Ctrl+Shift+C causing hotkey not working on Windows Termainl
// Press Ctrl+Shift+F to open the search box
// If enabled, formatted data is also copied to your clipboard {
"copyFormatting": false, "command": "find",
"keys": "ctrl+shift+f"
// 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` "command": "prevTab",
// To learn more about profiles, visit https://aka.ms/terminal-profile-settings "keys": "ctrl+pgup"
"profiles": { },
"defaults": { {
// Put settings here that you want to apply to all profiles. "command": "nextTab",
"useAcrylic": false, "keys": "ctrl+pgdn"
"acrylicOpacity": 0.6, },
"colorScheme": "One Half Dark", // Press Alt+Shift+D to open a new pane.
"cursorShape": "filledBox", // - "split": "auto" makes this pane open in the direction that provides the most surface area.
// https://github.com/laishulu/Sarasa-Mono-SC-Nerd/releases/latest // - "splitMode": "duplicate" makes the new pane use the focused pane's profile.
"fontFace": "Sarasa Mono SC Nerd", // To learn more about panes, visit https://aka.ms/terminal-panes
"fontSize": 12 {
"command":
{
"action": "splitPane",
"split": "auto",
"splitMode": "duplicate"
},
"keys": "alt+shift+d"
}
],
"copyFormatting": "none",
"copyOnSelect": false,
"defaultProfile": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"profiles":
{
"defaults":
{
"acrylicOpacity": 0.59999999999999998,
"colorScheme": "One Half Dark",
"cursorShape": "filledBox",
"fontFace": "Sarasa Mono SC Nerd",
"fontSize": 12,
"useAcrylic": false
},
"list":
[
{
"commandline": "powershell.exe",
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"hidden": false,
"name": "Windows PowerShell"
},
{
"commandline": "cmd.exe",
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"hidden": false,
"name": "Command Prompt"
},
{
"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"hidden": false,
"name": "PowerShell",
"source": "Windows.Terminal.PowershellCore"
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": false,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
},
{
"guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"hidden": false,
"name": "Ubuntu",
"source": "Windows.Terminal.Wsl"
}
]
}, },
"list": [ "schemes":
{ [
// Make changes here to the powershell.exe profile. {
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "background": "#0C0C0C",
"name": "Windows PowerShell", "black": "#0C0C0C",
"commandline": "powershell.exe", "blue": "#0037DA",
"hidden": false "brightBlack": "#767676",
}, "brightBlue": "#3B78FF",
{ "brightCyan": "#61D6D6",
// Make changes here to the cmd.exe profile. "brightGreen": "#16C60C",
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "brightPurple": "#B4009E",
"name": "Command Prompt", "brightRed": "#E74856",
"commandline": "cmd.exe", "brightWhite": "#F2F2F2",
"hidden": false "brightYellow": "#F9F1A5",
}, "cursorColor": "#FFFFFF",
{ "cyan": "#3A96DD",
"guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}", "foreground": "#CCCCCC",
"hidden": false, "green": "#13A10E",
"name": "Ubuntu-20.04", "name": "Campbell",
"source": "Windows.Terminal.Wsl" "purple": "#881798",
}, "red": "#C50F1F",
{ "selectionBackground": "#FFFFFF",
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}", "white": "#CCCCCC",
"hidden": false, "yellow": "#C19C00"
"name": "Azure Cloud Shell", },
"source": "Windows.Terminal.Azure" {
}, "background": "#012456",
{ "black": "#0C0C0C",
"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", "blue": "#0037DA",
"hidden": false, "brightBlack": "#767676",
"name": "PowerShell", "brightBlue": "#3B78FF",
"source": "Windows.Terminal.PowershellCore" "brightCyan": "#61D6D6",
}, "brightGreen": "#16C60C",
{ "brightPurple": "#B4009E",
"guid": "{58ad8b0c-3ef8-5f4d-bc6f-13e4c00f2530}", "brightRed": "#E74856",
"hidden": false, "brightWhite": "#F2F2F2",
"name": "Debian", "brightYellow": "#F9F1A5",
"source": "Windows.Terminal.Wsl" "cursorColor": "#FFFFFF",
} "cyan": "#3A96DD",
"foreground": "#CCCCCC",
"green": "#13A10E",
"name": "Campbell Powershell",
"purple": "#881798",
"red": "#C50F1F",
"selectionBackground": "#FFFFFF",
"white": "#CCCCCC",
"yellow": "#C19C00"
},
{
"background": "#666666",
"black": "#3C5712",
"blue": "#17B2FF",
"brightBlack": "#749B36",
"brightBlue": "#27B2F6",
"brightCyan": "#13A8C0",
"brightGreen": "#89AF50",
"brightPurple": "#F2A20A",
"brightRed": "#F49B36",
"brightWhite": "#741274",
"brightYellow": "#991070",
"cursorColor": "#FFFFFF",
"cyan": "#3C96A6",
"foreground": "#000000",
"green": "#6AAE08",
"name": "Frost",
"purple": "#991070",
"red": "#8D0C0C",
"selectionBackground": "#FFFFFF",
"white": "#6E386E",
"yellow": "#991070"
},
{
"background": "#282C34",
"black": "#282C34",
"blue": "#61AFEF",
"brightBlack": "#5A6374",
"brightBlue": "#61AFEF",
"brightCyan": "#56B6C2",
"brightGreen": "#98C379",
"brightPurple": "#C678DD",
"brightRed": "#E06C75",
"brightWhite": "#DCDFE4",
"brightYellow": "#E5C07B",
"cursorColor": "#FFFFFF",
"cyan": "#56B6C2",
"foreground": "#DCDFE4",
"green": "#98C379",
"name": "One Half Dark",
"purple": "#C678DD",
"red": "#E06C75",
"selectionBackground": "#FFFFFF",
"white": "#DCDFE4",
"yellow": "#E5C07B"
},
{
"background": "#FAFAFA",
"black": "#383A42",
"blue": "#0184BC",
"brightBlack": "#4F525D",
"brightBlue": "#61AFEF",
"brightCyan": "#56B5C1",
"brightGreen": "#98C379",
"brightPurple": "#C577DD",
"brightRed": "#DF6C75",
"brightWhite": "#FFFFFF",
"brightYellow": "#E4C07A",
"cursorColor": "#4F525D",
"cyan": "#0997B3",
"foreground": "#383A42",
"green": "#50A14F",
"name": "One Half Light",
"purple": "#A626A4",
"red": "#E45649",
"selectionBackground": "#FFFFFF",
"white": "#FAFAFA",
"yellow": "#C18301"
},
{
"background": "#002B36",
"black": "#002B36",
"blue": "#268BD2",
"brightBlack": "#073642",
"brightBlue": "#839496",
"brightCyan": "#93A1A1",
"brightGreen": "#586E75",
"brightPurple": "#6C71C4",
"brightRed": "#CB4B16",
"brightWhite": "#FDF6E3",
"brightYellow": "#657B83",
"cursorColor": "#FFFFFF",
"cyan": "#2AA198",
"foreground": "#839496",
"green": "#859900",
"name": "Solarized Dark",
"purple": "#D33682",
"red": "#DC322F",
"selectionBackground": "#FFFFFF",
"white": "#EEE8D5",
"yellow": "#B58900"
},
{
"background": "#FDF6E3",
"black": "#002B36",
"blue": "#268BD2",
"brightBlack": "#073642",
"brightBlue": "#839496",
"brightCyan": "#93A1A1",
"brightGreen": "#586E75",
"brightPurple": "#6C71C4",
"brightRed": "#CB4B16",
"brightWhite": "#FDF6E3",
"brightYellow": "#657B83",
"cursorColor": "#002B36",
"cyan": "#2AA198",
"foreground": "#657B83",
"green": "#859900",
"name": "Solarized Light",
"purple": "#D33682",
"red": "#DC322F",
"selectionBackground": "#FFFFFF",
"white": "#EEE8D5",
"yellow": "#B58900"
},
{
"background": "#000000",
"black": "#000000",
"blue": "#3465A4",
"brightBlack": "#555753",
"brightBlue": "#729FCF",
"brightCyan": "#34E2E2",
"brightGreen": "#8AE234",
"brightPurple": "#AD7FA8",
"brightRed": "#EF2929",
"brightWhite": "#EEEEEC",
"brightYellow": "#FCE94F",
"cursorColor": "#FFFFFF",
"cyan": "#06989A",
"foreground": "#D3D7CF",
"green": "#4E9A06",
"name": "Tango Dark",
"purple": "#75507B",
"red": "#CC0000",
"selectionBackground": "#FFFFFF",
"white": "#D3D7CF",
"yellow": "#C4A000"
},
{
"background": "#FFFFFF",
"black": "#000000",
"blue": "#3465A4",
"brightBlack": "#555753",
"brightBlue": "#729FCF",
"brightCyan": "#34E2E2",
"brightGreen": "#8AE234",
"brightPurple": "#AD7FA8",
"brightRed": "#EF2929",
"brightWhite": "#EEEEEC",
"brightYellow": "#FCE94F",
"cursorColor": "#000000",
"cyan": "#06989A",
"foreground": "#555753",
"green": "#4E9A06",
"name": "Tango Light",
"purple": "#75507B",
"red": "#CC0000",
"selectionBackground": "#FFFFFF",
"white": "#D3D7CF",
"yellow": "#C4A000"
},
{
"background": "#000000",
"black": "#000000",
"blue": "#000080",
"brightBlack": "#808080",
"brightBlue": "#0000FF",
"brightCyan": "#00FFFF",
"brightGreen": "#00FF00",
"brightPurple": "#FF00FF",
"brightRed": "#FF0000",
"brightWhite": "#FFFFFF",
"brightYellow": "#FFFF00",
"cursorColor": "#FFFFFF",
"cyan": "#008080",
"foreground": "#C0C0C0",
"green": "#008000",
"name": "Vintage",
"purple": "#800080",
"red": "#800000",
"selectionBackground": "#FFFFFF",
"white": "#C0C0C0",
"yellow": "#808000"
}
] ]
},
// Add custom color schemes to this array.
// To learn more about color schemes, visit https://aka.ms/terminal-color-schemes
"schemes": [
{
"name": "Frost",
"background": "#666666",
"black": "#3C5712",
"blue": "#17b2ff",
"brightBlack": "#749B36",
"brightBlue": "#27B2F6",
"brightCyan": "#13A8C0",
"brightGreen": "#89AF50",
"brightPurple": "#F2A20A",
"brightRed": "#F49B36",
"brightWhite": "#741274",
"brightYellow": "#991070",
"cyan": "#3C96A6",
"foreground": "#000000",
"green": "#6AAE08",
"purple": "#991070",
"red": "#8D0C0C",
"white": "#6E386E",
"yellow": "#991070"
}
],
// 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" },
// AMD Radeon Software might use Ctrl+Shift+C causing hotkey not working on Windows Termainl
// Press Ctrl+Shift+F to open the search box
{ "command": "find", "keys": "ctrl+shift+f" },
{ "command": "prevTab", "keys": "ctrl+pgup" },
{ "command": "nextTab", "keys": "ctrl+pgdn" },
// 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"
}
]
} }

View File

@ -18,6 +18,7 @@ $Env:PSModulePath += ";$Dir\Modules"
$Env:KUBE_EDITOR = 'nvim' $Env:KUBE_EDITOR = 'nvim'
$Env:EDITOR = 'nvim' $Env:EDITOR = 'nvim'
$Env:VIM_MODE = 'enhanced' $Env:VIM_MODE = 'enhanced'
$Env:hosts = 'C:\Windows\System32\drivers\etc\hosts'
Set-Alias -Name k kubectl Set-Alias -Name k kubectl
Set-Alias -Name bm Open-Bookmark Set-Alias -Name bm Open-Bookmark
Set-Alias -Name v nvim Set-Alias -Name v nvim

View File

@ -7,8 +7,8 @@ CoordMode, Mouse, Screen ; mouse coordinates relative to the screen
; ========================= ; =========================
; CONFIGURATION ; CONFIGURATION
; ========================= ; =========================
global RATIO := 0.618 ; global RATIO := 0.618
global RATIO := 0.382
; ========================= ; =========================
; BINDINGS ; BINDINGS
; ========================= ; =========================