What problem does it solve?
This skill solves the challenge of configuring intuitive, tmux-style keybindings in WezTerm, enabling fast pane management, leader-key workflows, and vim-like navigation.
Core Features & Use Cases
- Leader-key based pane navigation: Use a designated leader key to quickly split, navigate, and manage panes.
- Tmux-like navigation: Vim-style pane movement with h/j/k/l and pane focus shortcuts.
- Quick access & launches: Bind a leader sequence to launch Claude Code or other commands from the terminal.
Quick Start
Add the following Lua snippet to your WezTerm config and reload:
config.keys = {
{ key = '-', mods = 'LEADER', action = wezterm.action.SplitVertical { domain = 'CurrentPaneDomain' } },
{ key = '\', mods = 'LEADER', action = wezterm.action.SplitHorizontal { domain = 'CurrentPaneDomain' } },
{ key = 'h', mods = 'LEADER', action = wezterm.action.ActivatePaneDirection 'Left' },
{ key = 'j', mods = 'LEADER', action = wezterm.action.ActivatePaneDirection 'Down' },
{ key = 'k', mods = 'LEADER', action = wezterm.action.ActivatePaneDirection 'Up' },
{ key = 'l', mods = 'LEADER', action = wezterm.action.ActivatePaneDirection 'Right' },
{ key = 'x', mods = 'LEADER', action = wezterm.action.CloseCurrentPane { confirm = true } },
{ key = 'z', mods = 'LEADER', action = wezterm.action.TogglePaneZoomState },
{ key = '[', mods = 'LEADER', action = wezterm.action.ActivateCopyMode },
{ key = 'c', mods = 'LEADER', action = wezterm.action.SpawnCommandInNewTab { args = { 'claude' } } },
}