From 7c85616dcfb374deab05b4246ef591616473d92e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 9 Nov 2021 21:33:55 +0530 Subject: [PATCH] Add a note about arguments to layout_action rotate --- docs/layouts.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/layouts.rst b/docs/layouts.rst index 2f01844a2..7a4b3c1b3 100644 --- a/docs/layouts.rst +++ b/docs/layouts.rst @@ -150,6 +150,9 @@ and you can move focus to neighboring windows using :kbd:`ctrl+arrow keys`. You can switch an existing split from horizontal to vertical and vice versa using :kbd:`F7`. Finally, windows can be resized using :ref:`window_resizing`. +Note that you can swap the windows in a split using the ``rotate`` action with +an argument of ``180`` and rotate and swap with an argument of ``270``. + This layout takes one option, ``split_axis`` that controls whether new windows are placed into vertical or horizontal splits, by default::