initial commit
This commit is contained in:
83
wezterm.lua
Normal file
83
wezterm.lua
Normal file
@@ -0,0 +1,83 @@
|
||||
local wezterm = require("wezterm")
|
||||
local act = wezterm.action
|
||||
|
||||
local config = wezterm.config_builder()
|
||||
|
||||
config.initial_cols = 120
|
||||
config.initial_rows = 28
|
||||
|
||||
config.font_size = 14
|
||||
config.color_scheme = "Tokyo Night"
|
||||
|
||||
config.font = wezterm.font("Fira Code")
|
||||
|
||||
config.use_fancy_tab_bar = false
|
||||
config.window_decorations = "RESIZE"
|
||||
config.window_padding = {
|
||||
left = 0,
|
||||
right = 0,
|
||||
top = 0,
|
||||
bottom = 0,
|
||||
}
|
||||
|
||||
config.prefer_egl = true
|
||||
|
||||
config.keys = {
|
||||
|
||||
-- tabs --
|
||||
|
||||
{ key = ",", mods = "ALT", action = act.ActivateTabRelative(-1) },
|
||||
{ key = ".", mods = "ALT", action = act.ActivateTabRelative(1) },
|
||||
{ key = "<", mods = "SHIFT|ALT", action = act.MoveTabRelative(-1) },
|
||||
{ key = ">", mods = "SHIFT|ALT", action = act.MoveTabRelative(1) },
|
||||
|
||||
{ key = "w", mods = "SHIFT|ALT", action = act.CloseCurrentTab({ confirm = false }) },
|
||||
|
||||
-- panes
|
||||
|
||||
{ key = "0", mods = "ALT", action = act.PaneSelect },
|
||||
{ key = "k", mods = "ALT", action = act.ActivatePaneDirection("Up") },
|
||||
{ key = "j", mods = "ALT", action = act.ActivatePaneDirection("Down") },
|
||||
{ key = "h", mods = "ALT", action = act.ActivatePaneDirection("Left") },
|
||||
{ key = "l", mods = "ALT", action = act.ActivatePaneDirection("Right") },
|
||||
|
||||
{
|
||||
key = "h",
|
||||
mods = "SHIFT|ALT",
|
||||
action = act.SplitPane({
|
||||
direction = "Left",
|
||||
size = { Percent = 50 },
|
||||
}),
|
||||
},
|
||||
{
|
||||
key = "l",
|
||||
mods = "SHIFT|ALT",
|
||||
action = act.SplitPane({
|
||||
direction = "Right",
|
||||
size = { Percent = 50 },
|
||||
}),
|
||||
},
|
||||
{
|
||||
key = "j",
|
||||
mods = "SHIFT|ALT",
|
||||
action = act.SplitPane({
|
||||
direction = "Down",
|
||||
size = { Percent = 50 },
|
||||
}),
|
||||
},
|
||||
{
|
||||
key = "k",
|
||||
mods = "SHIFT|ALT",
|
||||
action = act.SplitPane({
|
||||
direction = "Up",
|
||||
size = { Percent = 50 },
|
||||
}),
|
||||
},
|
||||
{
|
||||
key = "w",
|
||||
mods = "ALT",
|
||||
action = act.CloseCurrentPane({ confirm = false }),
|
||||
},
|
||||
}
|
||||
|
||||
return config
|
||||
Reference in New Issue
Block a user