dotfiles_wezterm/keybindings.lua

29 lines
433 B
Lua
Raw Normal View History

2025-02-04 05:15:47 +00:00
-- 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