Last active
March 15, 2025 05:56
-
-
Save huytd/21f5b15132efccb1c733abea44d16a7f to your computer and use it in GitHub Desktop.
This file contains 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
local wezterm = require 'wezterm' | |
local config = {} | |
if wezterm.config_builder then | |
config = wezterm.config_builder() | |
end | |
config.scrollback_lines = 100000 | |
config.color_scheme = 'One Half Black (Gogh)' | |
config.font = wezterm.font 'Droid Sans Mono Slashed' | |
config.font_size = 13 | |
config.colors = { | |
background = '#181818', | |
tab_bar = { | |
background = '#181818', | |
active_tab = { | |
bg_color = '#181818', | |
fg_color = '#ffffff' | |
}, | |
inactive_tab = { | |
bg_color = '#282828', | |
fg_color = '#626262' | |
} | |
} | |
} | |
config.use_fancy_tab_bar = false | |
config.tab_bar_at_bottom = true | |
config.show_new_tab_button_in_tab_bar = false | |
config.hide_tab_bar_if_only_one_tab = true | |
config.window_decorations = "RESIZE" | |
config.window_frame = { | |
font = wezterm.font 'Droid Sans Mono Slashed', | |
font_size = 12, | |
active_titlebar_bg = '#181818' | |
} | |
config.window_padding = { | |
top = 16, | |
left = 18, | |
right = 18, | |
bottom = 16, | |
horizontal_bg_bleed = true, | |
vertical_bg_bleed = true | |
} | |
config.keys = { | |
{ | |
key = 'd', | |
mods = 'CMD', | |
action = wezterm.action.SplitHorizontal | |
}, | |
{ | |
key = '/', | |
mods = 'CMD', | |
action = wezterm.action.SplitVertical | |
}, | |
{ | |
key = 'h', | |
mods = 'CMD|CTRL', | |
action = wezterm.action.ActivatePaneDirection 'Left', | |
}, | |
{ | |
key = 'l', | |
mods = 'CMD|CTRL', | |
action = wezterm.action.ActivatePaneDirection 'Right', | |
}, | |
{ | |
key = 'k', | |
mods = 'CMD|CTRL', | |
action = wezterm.action.ActivatePaneDirection 'Up', | |
}, | |
{ | |
key = 'j', | |
mods = 'CMD|CTRL', | |
action = wezterm.action.ActivatePaneDirection 'Down', | |
}, | |
{ | |
key = 'l', | |
mods = 'CTRL|SHIFT', | |
action = wezterm.action.ActivateCopyMode | |
}, | |
{ | |
key = 'h', | |
mods = 'CTRL|SHIFT', | |
action = wezterm.action.QuickSelect | |
}, | |
} | |
return config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment