Keyboard resize preview
Development reference · View source
:resize briefly fades pane contents away and replaces them with a labelled layout preview. The active pane
has a tinted background and its selected edge has a bright handle. The status
line lists the controls; the interaction line keeps Apply and Cancel visible.
Tab/Shift-Tabcycles clockwise / counterclockwise through movable edges, initially choosing the right edge when available.h/lor Left/Right moves a vertical edge one column;k/jor Up/Down moves a horizontal edge one row. Directions move the edge literally: moving a left edge right shrinks the active pane. Perpendicular keys leave it unchanged.H/J/K/Lor Shift+arrows extends the active pane in that direction to the nearest valid neighbouring far edge, using the same rules as Shift-Alt-drag. Every affected pane is previewed. Covered or fragmented pane views disappear; their buffers, unsaved edits and terminal sessions survive acceptance.uundoes a preview change, including an extension (up to 256 changes).Enterapplies the complete draft.Escdiscards it.
The directory tree’s right edge, also reachable from an adjacent pane’s left edge, can be resized but cannot be absorbed by an extension. Fullscreen and Zen must be left before resizing. A changed screen size, underlying layout or frontend attachment cancels the draft. Terminal processes retain their actual sizes throughout the preview and receive the new sizes only after acceptance. Mouse input and pasted text do not edit anything while this mode owns input.
The former :resize-left, :resize-right, :resize-top and :resize-bottom
commands have been replaced by :resize.