2022-12-17 15:17:40 +00:00
|
|
|
local wezterm = require("wezterm")
|
|
|
|
local act = wezterm.action
|
|
|
|
local mux = wezterm.mux
|
|
|
|
|
|
|
|
wezterm.on("gui-startup", function(cmd)
|
|
|
|
local tab, pane, window = mux.spawn_window({ args = cmd.args })
|
|
|
|
window:gui_window():maximize()
|
|
|
|
end)
|
|
|
|
|
|
|
|
return {
|
|
|
|
default_prog = { "/home/mo/.cargo/bin/zellij" },
|
|
|
|
|
|
|
|
disable_default_key_bindings = true,
|
|
|
|
keys = {
|
|
|
|
{ key = "V", mods = "SHIFT|CTRL", action = act.PasteFrom("Clipboard") },
|
|
|
|
{ key = "_", mods = "SHIFT|CTRL", action = act.DecreaseFontSize },
|
|
|
|
{ key = "*", mods = "SHIFT|CTRL", action = act.IncreaseFontSize },
|
|
|
|
{ key = "=", mods = "SHIFT|CTRL", action = act.ResetFontSize },
|
|
|
|
},
|
|
|
|
|
|
|
|
disable_default_mouse_bindings = true,
|
|
|
|
mouse_bindings = {
|
|
|
|
{
|
|
|
|
event = { Up = { streak = 1, button = "Left" } },
|
|
|
|
mods = "SHIFT",
|
|
|
|
action = act.OpenLinkAtMouseCursor,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
2022-12-17 17:12:02 +00:00
|
|
|
cursor_blink_rate = 0,
|
|
|
|
|
2022-12-17 15:17:40 +00:00
|
|
|
enable_tab_bar = false,
|
|
|
|
|
|
|
|
enable_scroll_bar = false,
|
|
|
|
scrollback_lines = 0,
|
|
|
|
|
|
|
|
window_decorations = "RESIZE",
|
|
|
|
window_padding = {
|
|
|
|
left = "0cell",
|
|
|
|
right = "0cell",
|
|
|
|
top = "0cell",
|
|
|
|
bottom = "0cell",
|
|
|
|
},
|
|
|
|
|
|
|
|
audible_bell = "Disabled",
|
|
|
|
|
|
|
|
allow_win32_input_mode = false,
|
|
|
|
|
|
|
|
automatically_reload_config = false,
|
|
|
|
|
|
|
|
check_for_updates = false,
|
|
|
|
}
|