wezterm
code: .wezterm.lua
local wezterm = require('wezterm')
local act = wezterm.action
return {
font = wezterm.font('HackGen Console NF', { weight = 'Regular', stretch = 'Normal', italic = false }),
font_size = 14.0,
color_scheme = 'Solarized Dark (base16)',
initial_cols = 170,
initial_rows = 50,
-- Key configuration
leader = { key = 'q', mods = 'CTRL', timeout_milliseconds = 1000 },
keys = {
{ key = 'h', mods = 'LEADER', action = act.ActivatePaneDirection 'Left' },
{ key = 'j', mods = 'LEADER', action = act.ActivatePaneDirection 'Down' },
{ key = 'k', mods = 'LEADER', action = act.ActivatePaneDirection 'Up' },
{ key = 'l', mods = 'LEADER', action = act.ActivatePaneDirection 'Right' },
{ key = '\\', mods = 'LEADER', action = act.SplitPane { direction = 'Right', size = { Percent = 50 } } },
{ key = '-', mods = 'LEADER', action = act.SplitPane { direction = 'Down', size = { Percent = 50 } } },
{ key = '[', mods = 'LEADER', action = act.ActivateCopyMode }
}
}