mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-10-17 20:52:40 +00:00
51 lines
1.1 KiB
Lua
51 lines
1.1 KiB
Lua
|
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,
|
||
|
},
|
||
|
},
|
||
|
|
||
|
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,
|
||
|
}
|