add new wezterm keybinds for pane splitting/closing
This commit is contained in:
parent
a98c3b726e
commit
5775ca2267
|
@ -61,6 +61,24 @@ config.font_size = 12
|
||||||
config.line_height = 1.0
|
config.line_height = 1.0
|
||||||
config.freetype_load_target = "Light"
|
config.freetype_load_target = "Light"
|
||||||
|
|
||||||
|
config.keys = {
|
||||||
|
{
|
||||||
|
key = "V",
|
||||||
|
mods = "CTRL|SHIFT|ALT",
|
||||||
|
action = wezterm.action.SplitVertical({ domain = "CurrentPaneDomain" }),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key = "H",
|
||||||
|
mods = "CTRL|SHIFT|ALT",
|
||||||
|
action = wezterm.action.SplitHorizontal({ domain = "CurrentPaneDomain" }),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key = "Q",
|
||||||
|
mods = "CTRL|SHIFT|ALT",
|
||||||
|
action = wezterm.action.CloseCurrentPane({ confirm = true }),
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
-- borrowed from: https://github.com/protiumx/.dotfiles/blob/main/stow/wezterm/.config/wezterm/wezterm.lua
|
-- borrowed from: https://github.com/protiumx/.dotfiles/blob/main/stow/wezterm/.config/wezterm/wezterm.lua
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue