Skip to content

Instantly share code, notes, and snippets.

@peterhellberg
Created January 16, 2025 14:56
Show Gist options
  • Save peterhellberg/525b193a54e03bfeac5498730e618c9f to your computer and use it in GitHub Desktop.
Save peterhellberg/525b193a54e03bfeac5498730e618c9f to your computer and use it in GitHub Desktop.
WSL:Debian version of my WezTerm configuration
local wezterm = require 'wezterm';
return {
default_domain = 'WSL:Debian',
prefer_egl = true,
max_fps = 165,
automatically_reload_config = true,
font = wezterm.font('Office Code Pro D', {
weight = 'Regular',
italic = false
}),
font_size = 12.0,
color_scheme = 'Jellybeans',
enable_tab_bar = false,
audible_bell = 'Disabled',
exit_behavior = 'Close',
-- cursor_blink_rate = 800,
default_cursor_style = 'SteadyBar',
bold_brightens_ansi_colors = false,
window_close_confirmation = 'NeverPrompt',
window_padding = {
left = 8,
right = 8,
top = 4,
bottom = 4,
},
inactive_pane_hsb = {
saturation = 1,
brightness = 1,
},
colors = {
foreground = '#DDDDC5',
background = '#131313',
cursor_bg = '#FFB371',
cursor_fg = '#000000',
split = '#333333',
ansi = {
'#353534',
'#D35737',
'#97A950',
'#F9CF75',
'#44677F',
'#C5B5EC',
'#88C5E8',
'#FEFEFE',
},
brights = {
'#626566',
'#FF2600',
'#C1D64F',
'#FFD366',
'#7492CF',
'#CDC0FF',
'#90D2F6',
'#F9F9F4',
},
},
keys = {
{
key = 'd',
mods = 'SUPER',
action = wezterm.action.SplitVertical { domain = 'CurrentPaneDomain' },
},
{
key = 'D',
mods = 'SUPER',
action = wezterm.action.SplitHorizontal { domain = 'CurrentPaneDomain' },
},
{
key = 'LeftArrow',
mods = 'META',
action = wezterm.action.ActivatePaneDirection 'Left',
},
{
key = 'RightArrow',
mods = 'META',
action = wezterm.action.ActivatePaneDirection 'Right',
},
{
key = 'UpArrow',
mods = 'META',
action = wezterm.action.ActivatePaneDirection 'Up',
},
{
key = 'DownArrow',
mods = 'META',
action = wezterm.action.ActivatePaneDirection 'Down',
},
{
key = 'PageUp',
mods = 'CTRL',
action = wezterm.action.ActivateTabRelative(-1),
},
{
key = 'PageDown',
mods = 'CTRL',
action = wezterm.action.ActivateTabRelative(1),
},
},
}
@peterhellberg
Copy link
Author

Screenshot 2025-01-16 160224

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment