diff --git a/wezterm.lua b/wezterm.lua index 1888e67..1dea683 100644 --- a/wezterm.lua +++ b/wezterm.lua @@ -1,4 +1,5 @@ local wezterm = require 'wezterm'; +local act = wezterm.action return { font = wezterm.font("JetBrainsMono Nerd Font Mono"), -- font = wezterm.font("Roboto Mono"), @@ -25,4 +26,46 @@ return { top = 0, bottom = 0, }, + keys = { + { + key = 'RightArrow', + mods = 'SHIFT', + action = act.ActivateTabRelative(1) + }, + { + key = 'LeftArrow', + mods = 'SHIFT', + action = act.ActivateTabRelative(-1) + }, + { + key = 'LeftArrow', + mods = 'ALT', + action = act.ActivatePaneDirection 'Left', + }, + { + key = 'RightArrow', + mods = 'ALT', + action = act.ActivatePaneDirection 'Right', + }, + { + key = 'UpArrow', + mods = 'ALT', + action = act.ActivatePaneDirection 'Up', + }, + { + key = 'DownArrow', + mods = 'ALT', + action = act.ActivatePaneDirection 'Down', + }, + { + key = '+', + mods = 'ALT|SHIFT', + action = wezterm.action.SplitVertical, + }, + { + key = '_', + mods = 'ALT|SHIFT', + action = wezterm.action.SplitHorizontal, + }, + } }