Skip to content

Instantly share code, notes, and snippets.

@alsolovyev
Last active October 16, 2024 03:10
Show Gist options
  • Save alsolovyev/b6996b1aba19a0722990e1ba9564a55b to your computer and use it in GitHub Desktop.
Save alsolovyev/b6996b1aba19a0722990e1ba9564a55b to your computer and use it in GitHub Desktop.
Settings for Windows Terminal (Preview)

Windows Terminal Settings

Windows Registry Editor Version 5.00
; Add aliases
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor]
"AutoRun"="DOSKEY /MACROFILE=\"D:\\Scripts\\aliases\""
; Run commands on command prompt startup
[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
"AutoRun"="D:\\Scripts\\AutoRun.bat"
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "default",
// Launch Settings
"initialCols": 100,
"initialRows": 22,
"initialPosition": "480,260",
"launchMode": "default", // "default", "maximized", "fullscreen", "focus", "maximizedFocus"
"alwaysOnTop": false,
// Selection
"copyOnSelect": true,
"copyFormatting": false,
"trimBlockSelection": true,
"wordDelimiters": " /\\()\"'-_.,:;<>~!@#$%^&*|+=[]{}~?\u2502",
// Tab UI
"alwaysShowTabs": false,
"showTabsInTitlebar": true,
"showTerminalTitleInTitlebar": true,
"tabWidthMode": "titleLength", // "equal", "titleLength", "compact"
"tabSwitcherMode": "inOrder",
// Miscellaneous
"confirmCloseAllTabs": true,
"startOnUserLogin": false,
"theme": "dark", // "system", "dark", "light"
"snapToGridOnResize": true,
"disableAnimations": false,
"startupActions": "--title janeRivas --tabColor #0F111A",
"focusFollowMouse": false,
// Profiles
"profiles": [
{
"name": "default",
"commandline": "%SystemRoot%\\System32\\cmd.exe",
"icon": "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png",
"colorScheme": "default",
"antialiasingMode": "grayscale",
"closeOnExit": "graceful",
"cursorShape": "underscore",
"fontFace": "JetBrains Mono",
"fontSize": 10,
"hidden": false,
"historySize": 100,
"padding": "10, 10, 10, 10",
"snapOnInput": true,
"altGrAliasing": true,
"startingDirectory": "%USERPROFILE%\\Documents",
"useAcrylic": true,
"acrylicOpacity" : 0.7
}
],
// Color schemes
"schemes": [
{
"name": "default",
"background": "#0F111A",
"cursorColor": "#FFCC00",
"foreground": "#E6E6E6",
"white": "#FFFFFF",
"black": "#0F111A",
"red": "#FF2C6D",
"green": "#19F9D8",
"blue": "#45A9F9",
"cyan": "#6FC1FF",
"purple": "#B084EB",
"yellow": "#FFB86C",
"brightWhite": "#F2F2F2",
"brightBlack": "#767676",
"brightRed": "#FF2C6D",
"brightGreen": "#19F9D8",
"brightBlue": "#45A9F9",
"brightCyan": "#6FC1FF",
"brightPurple": "#B084EB",
"brightYellow": "#FF2C6D"
}
],
// Actions
"actions": [
{ "command": "closeWindow", "keys": "alt+f4" },
{ "command": "toggleFullscreen", "keys": "f11" },
{ "command": "toggleFocusMode", "keys": "shift+f11" },
{ "command": "toggleAlwaysOnTop", "keys": "ctrl+t" },
{ "command": { "action": "openSettings", "target": "settingsFile" }, "keys": "ctrl+shift+s" },
{ "command": { "action": "openSettings", "target": "defaultsFile" }, "keys": "ctrl+alt+s" },
{ "command": "find", "keys": "ctrl+f" },
{ "command": { "action": "findMatch", "direction": "next" } },
{ "command": { "action": "findMatch", "direction": "prev" } },
{ "command": "commandPalette", "keys":"ctrl+shift+p" },
{ "command": "quakeMode", "keys":"win+`" },
{ "command": "closeTab", "keys":"ctrl+w" },
{ "command": "newTab", "keys": "ctrl+t" },
{ "command": "newWindow", "keys": "ctrl+n" },
{ "command": { "action": "copy", "singleLine": false }, "keys": "ctrl+c" },
{ "command": { "action": "copy", "singleLine": false }, "keys": "ctrl+insert" },
{ "command": "paste", "keys": "ctrl+v" },
{ "command": "paste", "keys": "shift+insert" },
{ "command": "scrollDown", "keys": "pgdn" },
{ "command": "scrollUp", "keys": "pgup" },
{ "command": "scrollToTop", "keys": "home" },
{ "command": "scrollToBottom", "keys": "end" },
]
}
For CMD: $E[35;40mjaneRivas» $E[36;40m$p$E[35;40m› $E[0m
For WT(transparent background): $E[35mjaneRivas» $E[36m$p$E[35m› $E[0m
For Bash(~/.bashrc): export PS1='\[\033[35m\]janeRivas» \[\033[36m\]\w\[\033[35m\]: \[\033[0m\]'
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.10196078431372549</real>
<key>Green Component</key>
<real>0.06666666666666667</real>
<key>Red Component</key>
<real>0.058823529411764705</real>
</dict>
<key>Ansi 1 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.4392156862745098</real>
<key>Green Component</key>
<real>0.3254901960784314</real>
<key>Red Component</key>
<real>1</real>
</dict>
<key>Ansi 10 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.5529411764705883</real>
<key>Green Component</key>
<real>0.9098039215686274</real>
<key>Red Component</key>
<real>0.7647058823529411</real>
</dict>
<key>Ansi 11 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.4196078431372549</real>
<key>Green Component</key>
<real>0.796078431372549</real>
<key>Red Component</key>
<real>1</real>
</dict>
<key>Ansi 12 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>1</real>
<key>Green Component</key>
<real>0.6666666666666666</real>
<key>Red Component</key>
<real>0.5098039215686274</real>
</dict>
<key>Ansi 13 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.9176470588235294</real>
<key>Green Component</key>
<real>0.5725490196078431</real>
<key>Red Component</key>
<real>0.7803921568627451</real>
</dict>
<key>Ansi 14 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>1</real>
<key>Green Component</key>
<real>0.6666666666666666</real>
<key>Red Component</key>
<real>0.5098039215686274</real>
</dict>
<key>Ansi 15 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.8862745098039215</real>
<key>Green Component</key>
<real>0.8862745098039215</real>
<key>Red Component</key>
<real>0.8862745098039215</real>
</dict>
<key>Ansi 2 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.5529411764705883</real>
<key>Green Component</key>
<real>0.9098039215686274</real>
<key>Red Component</key>
<real>0.7647058823529411</real>
</dict>
<key>Ansi 3 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.4196078431372549</real>
<key>Green Component</key>
<real>0.796078431372549</real>
<key>Red Component</key>
<real>1</real>
</dict>
<key>Ansi 4 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>1</real>
<key>Green Component</key>
<real>0.6666666666666666</real>
<key>Red Component</key>
<real>0.5098039215686274</real>
</dict>
<key>Ansi 5 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.9176470588235294</real>
<key>Green Component</key>
<real>0.5725490196078431</real>
<key>Red Component</key>
<real>0.7803921568627451</real>
</dict>
<key>Ansi 6 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>1</real>
<key>Green Component</key>
<real>0.6666666666666666</real>
<key>Red Component</key>
<real>0.5098039215686274</real>
</dict>
<key>Ansi 7 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.8862745098039215</real>
<key>Green Component</key>
<real>0.8862745098039215</real>
<key>Red Component</key>
<real>0.8862745098039215</real>
</dict>
<key>Ansi 8 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.10196078431372549</real>
<key>Green Component</key>
<real>0.06666666666666667</real>
<key>Red Component</key>
<real>0.058823529411764705</real>
</dict>
<key>Ansi 9 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.4392156862745098</real>
<key>Green Component</key>
<real>0.3254901960784314</real>
<key>Red Component</key>
<real>1</real>
</dict>
<key>Background Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.10196078431372549</real>
<key>Green Component</key>
<real>0.06666666666666667</real>
<key>Red Component</key>
<real>0.058823529411764705</real>
</dict>
<key>Bold Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.9568627450980393</real>
<key>Green Component</key>
<real>0.9529411764705882</real>
<key>Red Component</key>
<real>0.9490196078431372</real>
</dict>
<key>Cursor Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.9568627450980393</real>
<key>Green Component</key>
<real>0.9529411764705882</real>
<key>Red Component</key>
<real>0.9490196078431372</real>
</dict>
<key>Cursor Text Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.10196078431372549</real>
<key>Green Component</key>
<real>0.06666666666666667</real>
<key>Red Component</key>
<real>0.058823529411764705</real>
</dict>
<key>Foreground Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.9568627450980393</real>
<key>Green Component</key>
<real>0.9529411764705882</real>
<key>Red Component</key>
<real>0.9490196078431372</real>
</dict>
<key>Selected Text Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.9568627450980393</real>
<key>Green Component</key>
<real>0.9529411764705882</real>
<key>Red Component</key>
<real>0.9490196078431372</real>
</dict>
<key>Selection Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.10196078431372549</real>
<key>Green Component</key>
<real>0.06666666666666667</real>
<key>Red Component</key>
<real>0.058823529411764705</real>
</dict>
</dict>
</plist>
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Console]
"ColorTable00"=dword:001a110f
"ColorTable01"=dword:00ffaa82
"ColorTable02"=dword:008de8c3
"ColorTable03"=dword:00ffaa82
"ColorTable04"=dword:007053ff
"ColorTable05"=dword:00ea92c7
"ColorTable06"=dword:006bcbff
"ColorTable07"=dword:00e2e2e2
"ColorTable08"=dword:001a110f
"ColorTable09"=dword:00ffaa82
"ColorTable10"=dword:008de8c3
"ColorTable11"=dword:00ffaa82
"ColorTable12"=dword:007053ff
"ColorTable13"=dword:00ea92c7
"ColorTable14"=dword:006bcbff
"ColorTable15"=dword:00e2e2e2
"CtrlKeyShortcutsDisabled"=dword:00000000
"CursorColor"=dword:0092cded
"CursorSize"=dword:00000019
"DefaultBackground"=dword:ffffffff
"DefaultForeground"=dword:ffffffff
"EnableColorSelection"=dword:00000000
"ExtendedEditKey"=dword:00000001
"ExtendedEditKeyCustom"=dword:00000000
"FaceName"="JetBrains Mono Medium"
"FilterOnPaste"=dword:00000001
"FontFamily"=dword:00000036
"FontSize"=dword:00100000
"FontWeight"=dword:000001f4
"ForceV2"=dword:00000001
"FullScreen"=dword:00000000
"HistoryBufferSize"=dword:00000032
"HistoryNoDup"=dword:00000000
"InsertMode"=dword:00000001
"LineSelection"=dword:00000001
"LineWrap"=dword:00000000
"LoadConIme"=dword:00000001
"NumberOfHistoryBuffers"=dword:00000004
"PopupColors"=dword:000000f5
"QuickEdit"=dword:00000001
"ScreenBufferSize"=dword:001a006e
"ScreenColors"=dword:00000007
"ScrollScale"=dword:00000001
"TerminalScrolling"=dword:00000000
"TrimLeadingZeros"=dword:00000000
"WindowAlpha"=dword:000000f4
"WindowSize"=dword:001a006e
"WordDelimiters"=dword:00000000
"CurrentPage"=dword:00000002
"CursorType"=dword:00000002
"InterceptCopyPaste"=dword:00000000
"WindowPosition"=dword:00f0023a
[HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe]
"WindowPosition"=dword:00f0023a
"FontSize"=dword:00100007
[HKEY_CURRENT_USER\Console\%SystemRoot%_System32_WindowsPowerShell_v1.0_powershell.exe]
"ColorTable05"=dword:00562401
"ColorTable06"=dword:00f0edee
"FaceName"="Lucida Console"
"FontFamily"=dword:00000036
"FontWeight"=dword:00000190
"PopupColors"=dword:000000f3
"QuickEdit"=dword:00000001
"ScreenBufferSize"=dword:0bb80078
"ScreenColors"=dword:00000056
"WindowSize"=dword:00320078
[HKEY_CURRENT_USER\Console\%SystemRoot%_SysWOW64_WindowsPowerShell_v1.0_powershell.exe]
"ColorTable05"=dword:00562401
"ColorTable06"=dword:00f0edee
"FaceName"="Lucida Console"
"FontFamily"=dword:00000036
"FontWeight"=dword:00000190
"PopupColors"=dword:000000f3
"QuickEdit"=dword:00000001
"ScreenBufferSize"=dword:0bb80078
"ScreenColors"=dword:00000056
"WindowSize"=dword:00320078
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment