Last active
June 4, 2024 10:45
-
-
Save luochen1990/e8c76803e5c49ec1e08180b7ced0d20f to your computer and use it in GitHub Desktop.
My Windows Terminal Profile (Configuration/Preference)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$help": "https://aka.ms/terminal-documentation", | |
| "$schema": "https://aka.ms/terminal-profiles-schema", | |
| "actions": | |
| [ | |
| { | |
| "command": "unbound", | |
| "keys": "ctrl+shift+d" | |
| }, | |
| { | |
| "command": "unbound", | |
| "keys": "ctrl+t" | |
| }, | |
| { | |
| "command": | |
| { | |
| "action": "copy", | |
| "singleLine": false | |
| }, | |
| "keys": "ctrl+c" | |
| }, | |
| { | |
| "command": "duplicateTab", | |
| "keys": "ctrl+shift+t" | |
| }, | |
| { | |
| "command": "paste", | |
| "keys": "ctrl+v" | |
| }, | |
| { | |
| "command": "find", | |
| "keys": "ctrl+shift+f" | |
| }, | |
| { | |
| "command": | |
| { | |
| "action": "splitPane", | |
| "split": "auto", | |
| "splitMode": "duplicate" | |
| }, | |
| "keys": "alt+shift+d" | |
| } | |
| ], | |
| "copyFormatting": "none", | |
| "copyOnSelect": false, | |
| "defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", | |
| "newTabMenu": | |
| [ | |
| { | |
| "type": "remainingProfiles" | |
| } | |
| ], | |
| "profiles": | |
| { | |
| "defaults": | |
| { | |
| "font": | |
| { | |
| "face": "SauceCodePro Nerd Font" | |
| } | |
| }, | |
| "list": | |
| [ | |
| { | |
| "backgroundImage": "C:\\Users\\LC\\Pictures\\Wallpaper\\windows-10-logo-vector-minimal-4k-lt.jpg", | |
| "backgroundImageOpacity": 0.1, | |
| "colorScheme": "Whimsy", | |
| "font": | |
| { | |
| "face": "SauceCodePro Nerd Font" | |
| }, | |
| "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", | |
| "hidden": false, | |
| "name": "PowerShell 7", | |
| "source": "Windows.Terminal.PowershellCore" | |
| }, | |
| { | |
| "backgroundImage": "C:\\Users\\LC\\Pictures\\Wallpaper\\windows-10-logo-vector-minimal-4k-lt.jpg", | |
| "backgroundImageOpacity": 0.1, | |
| "colorScheme": "Campbell Powershell", | |
| "commandline": "%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", | |
| "font": | |
| { | |
| "face": "SauceCodePro Nerd Font" | |
| }, | |
| "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", | |
| "hidden": false, | |
| "name": "PowerShell 5" | |
| }, | |
| { | |
| "adjustIndistinguishableColors": "always", | |
| "backgroundImage": "C:\\Users\\LC\\Pictures\\Wallpaper\\nix-wallpaper-stripes.png", | |
| "backgroundImageAlignment": "bottomRight", | |
| "backgroundImageOpacity": 0.05, | |
| "backgroundImageStretchMode": "uniform", | |
| "colorScheme": "One Half Dark", | |
| "commandline": "ssh -Y -p 22 -i ~/.ssh/id_rsa -o SetEnv=DISPLAY=10.40.10.1:0.0 lc@10.40.10.2", | |
| "experimental.retroTerminalEffect": false, | |
| "font": | |
| { | |
| "face": "SauceCodePro Nerd Font", | |
| "size": 14.0 | |
| }, | |
| "guid": "{dafc1622-8476-4c88-b16f-5ca1e8e4c4c8}", | |
| "hidden": false, | |
| "icon": "C:\\Users\\LC\\Pictures\\LOGO\\nix.png", | |
| "name": "NixOS (hyper-v)", | |
| "opacity": 100, | |
| "scrollbarState": "visible", | |
| "useAcrylic": true | |
| }, | |
| { | |
| "commandline": "%SystemRoot%\\System32\\cmd.exe", | |
| "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", | |
| "hidden": false, | |
| "name": "\u547d\u4ee4\u63d0\u793a\u7b26" | |
| }, | |
| ] | |
| }, | |
| "schemes": | |
| [ | |
| { | |
| "background": "#29283B", | |
| "black": "#535178", | |
| "blue": "#65AEF7", | |
| "brightBlack": "#535178", | |
| "brightBlue": "#65AEF7", | |
| "brightCyan": "#43C1BE", | |
| "brightGreen": "#5ECA89", | |
| "brightPurple": "#AA7FF0", | |
| "brightRed": "#EF6487", | |
| "brightWhite": "#FFFFFF", | |
| "brightYellow": "#FDD877", | |
| "cursorColor": "#B3B0D6", | |
| "cyan": "#43C1BE", | |
| "foreground": "#B3B0D6", | |
| "green": "#5ECA89", | |
| "name": "Whimsy", | |
| "purple": "#AA7FF0", | |
| "red": "#EF6487", | |
| "selectionBackground": "#3D3C58", | |
| "white": "#FFFFFF", | |
| "yellow": "#FDD877" | |
| } | |
| ], | |
| "themes": [] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| oh-my-posh init pwsh | Invoke-Expression | |
| $ENV:HTTP_PROXY='http://127.0.0.1:1080' | |
| $ENV:HTTPS_PROXY=$ENV:HTTP_PROXY | |
| Set-PSReadLineKeyHandler -Key Ctrl+u -Function BackwardDeleteLine | |
| Set-PSReadlineKeyHandler -Key ctrl+d -Function ViExit | |
| Set-PSReadLineOption -PredictionSource HistoryAndPlugin | |
| Set-PSReadLineOption -PredictionViewStyle ListView | |
| Set-PSReadLineKeyHandler -Chord "Ctrl+RightArrow" -Function ForwardWord | |
| Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment