dotfiles_wezterm/keybindings.lua
2025-02-04 10:45:47 +05:30

29 lines
433 B
Lua

-- Keybindings
local wezterm = require 'wezterm'
local keybindings = {
{
key = 'h', mods = 'CTRL',
action = wezterm.action.SplitHorizontal
{
domain = 'CurrentPaneDomain'
},
},
{
key = 'v', mods = 'CTRL',
action = wezterm.action.SplitVertical
{
domain = 'CurrentPaneDomain'
},
},
{
key = 'w', mods = 'CTRL',
action = wezterm.action.CloseCurrentPane
{
confirm = true
},
},
}
return keybindings