dotfiles/data/wezterm/wezterm.lua

75 lines
1.4 KiB
Lua

local wezterm = require("wezterm")
local act = wezterm.action
return {
font = wezterm.font({
family = "Iosevka Term SS08",
}),
font_size = 16.0,
line_height = 1.2,
use_cap_height_to_scale_fallback_fonts = true,
color_scheme = "Catppuccin Mocha",
keys = {
{
key = "LeftArrow",
mods = "CTRL|SHIFT",
action = act.ActivateTabRelative(-1),
},
{
key = "RightArrow",
mods = "CTRL|SHIFT",
action = act.ActivateTabRelative(1),
},
-- Sync with Zellij
{
key = "n",
mods = "ALT",
action = act.SplitHorizontal({ domain = "CurrentPaneDomain" }),
},
{
key = "m",
mods = "ALT",
action = act.SplitVertical({ domain = "CurrentPaneDomain" }),
},
{
key = "p",
mods = "ALT",
action = act.ActivatePaneDirection("Next"),
},
{
key = "o",
mods = "ALT",
action = act.SpawnCommandInNewTab({}),
},
{
key = "[",
mods = "ALT",
action = act.ActivateTabRelative(-1),
},
{
key = "]",
mods = "ALT",
action = act.ActivateTabRelative(1),
},
},
use_fancy_tab_bar = false,
hide_tab_bar_if_only_one_tab = true,
tab_bar_at_bottom = true,
tab_and_split_indices_are_zero_based = true,
tab_max_width = 24,
window_background_opacity = 0.9,
text_background_opacity = 0.8,
macos_window_background_blur = 15,
native_macos_fullscreen_mode = true,
default_cursor_style = "SteadyBar",
audible_bell = "Disabled",
-- Remove in next version
front_end = "WebGpu",
}