kitty/docs
Mark Stuart 852fc4a662 Add equalize action and equalize_on_close option to Splits layout
Adds an `equalize` layout action that redistributes split sizes so each
window receives a proportional share of space along each axis.

Also adds an `equalize_on_close` layout option that automatically
equalizes splits whenever a window is closed, keeping the remaining
windows balanced without requiring an explicit key binding.

These two features compose well. For example, to keep splits balanced
at all times - equalizing on every open and close:

    enabled_layouts splits:equalize_on_close=true
    map ctrl+' combine : launch --location=hsplit --cwd=current : layout_action equalize
    map ctrl+/ combine : launch --location=vsplit --cwd=current : layout_action equalize

A standalone key binding for manual rebalancing is also supported:

    map ctrl+shift+e layout_action equalize
2026-05-29 20:02:42 +01:00
..
_static
_templates
kittens
screenshots
actions.rst
basic.rst
binary.rst
build.rst
changelog.rst
clipboard.rst
color-stack.rst
conf.py
conf.rst
deccara.rst
desktop-notifications.rst
dnd-protocol.rst
extract-rst-targets.py
faq.rst
file-transfer-protocol.rst
glossary.rst
graphics-protocol.rst
index.rst
installer.sh
integrations.rst
intro_vid.rst
invocation.rst
keyboard-protocol.rst
kittens_intro.rst
launch.rst
layouts.rst
Makefile
mapping.rst
marks.rst
misc-protocol.rst
multiple-cursors-protocol.rst
notifications.py
open_actions.rst
overview.rst
performance.rst
pipe.rst
pointer-shapes.rst
press-mentions.rst
protocol-extensions.rst
quake-screenshots.rst
quickstart.rst
rc_protocol.rst
remote-control.rst
requirements.txt
sessions.rst
shell-integration.rst
support.html
support.rst
text-sizing-protocol.rst
underlines.rst
unscroll.rst
wide-gamut-colors.rst