wezterm: Add ability to close current pane
Using <C-A>x you can close the currently highlighted pane. Will not ask confirmation so be careful.
This commit is contained in:
parent
5712a5bf64
commit
9811d801b8
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,6 @@ local act = wezterm.action
|
|||
|
||||
local keys = {
|
||||
{ key = "O", mods = "CTRL", action = act.ShowDebugOverlay },
|
||||
|
||||
{ key = "[", mods = "CTRL", action = act.ScrollToPrompt(-1) },
|
||||
{ key = "]", mods = "CTRL", action = act.ScrollToPrompt(1) },
|
||||
{ -- vertical pane
|
||||
|
@ -36,6 +35,7 @@ local keys = {
|
|||
mods = "CTRL",
|
||||
action = act.EmitEvent("ActivatePaneDirection-right"),
|
||||
},
|
||||
{ key = "x", mods = "LEADER", action = act.CloseCurrentPane({ confirm = false }) },
|
||||
{ key = "z", mods = "LEADER", action = act.TogglePaneZoomState },
|
||||
{ key = " ", mods = "LEADER", action = act.RotatePanes("Clockwise") },
|
||||
{ key = "q", mods = "LEADER", action = act.PaneSelect({ mode = "Activate" }) },
|
||||
|
|
Loading…
Reference in a new issue