1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-10-17 20:52:40 +00:00
dotfiles/.config/wezterm/wezterm.lua
2022-12-17 18:12:02 +01:00

52 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,
},
},
cursor_blink_rate = 0,
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,
}