From 2655970a0ac0e297f53de546363e1add82e9aa8a Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 6 Sep 2023 06:37:43 +0800 Subject: [PATCH] wezterm: update keybindings --- wezterm/config/keys.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wezterm/config/keys.lua b/wezterm/config/keys.lua index fff2026..284138b 100644 --- a/wezterm/config/keys.lua +++ b/wezterm/config/keys.lua @@ -84,6 +84,7 @@ function module.apply_to_config(config) { key = "f", mods = keymod, action = act.TogglePaneZoomState }, { key = "n", mods = "LEADER", action = act.SplitHorizontal({ domain = "CurrentPaneDomain" }) }, { key = "n", mods = keymod, action = act.SplitHorizontal({ domain = "CurrentPaneDomain" }) }, + { key = "n", mods = alt_keymod, action = act.SplitVertical({ domain = "CurrentPaneDomain" }) }, { key = "d", mods = keymod, action = act.CloseCurrentPane({ confirm = false }) }, -- Tab navigation @@ -101,6 +102,8 @@ function module.apply_to_config(config) { mods = alt_keymod, key = "j", action = act.ActivateTab(-1), }, { mods = alt_keymod, key = "k", action = act.ActivateTab(0), }, { mods = alt_keymod, key = "l", action = act.ActivateTabRelative(1), }, + { key = "t", mods = keymod, action = act.ShowTabNavigator }, + { key = "d", mods = alt_keymod, action = act.CloseCurrentTab({ confirm = false }) }, -- Hints and quick selections { @@ -115,7 +118,7 @@ function module.apply_to_config(config) }, { key = "r", mods = keymod, action = act.ReloadConfiguration }, - { key = "t", mods = keymod, action = act.ShowDebugOverlay }, + { key = "o", mods = keymod, action = act.ShowDebugOverlay }, { key = "p", mods = keymod, action = act.ActivateCommandPalette }, { key = "e", mods = keymod, action = act.EmitEvent "view-last-output-in-new-pane" },