mirror of
https://github.com/wez/wezterm.git
synced 2024-12-26 14:54:16 +03:00
e0ea0f46a8
refs: https://github.com/wez/wezterm/pull/2273 refs: https://github.com/wez/wezterm/issues/2253
563 B
563 B
TogglePaneZoomState
Since: 20201031-154415-9614e117
Toggles the zoom state of the current pane. A Zoomed pane takes up all available space in the tab, hiding all other panes while it is zoomed. Switching its zoom state off will restore the prior split arrangement.
local wezterm = require 'wezterm'
return {
keys = {
{
key = 'Z',
mods = 'CTRL',
action = wezterm.action.TogglePaneZoomState,
},
},
}
See also: unzoom_on_switch_pane
, SetPaneZoomState.