You can use
:split (or its vertical variant
:vsplit) to split the current
window. You can optionally provide a room or user to open that room instead.
Will vertically split the current window and open
#alias:example.com in the
If you only need to duplicate the window without changing its content, you can use
^Wvto horizontally and vertically split the current window.
By default, the split commands will open the new window so that it is
visually before the current one, but you can alter this using
(as opposed to the default
:aboveleft behaviour). Similarly, you can also
change the axis of a split using the
Several of the commands within iamb change the displayed content in the current window. You can force them to instead open a new window using the above commands. For example, to open the list of rooms below the current window:
Or, to show a room’s members to the left side of the room instead of the right:
:abo hor members
You can switch between between neighboring windows using the following keybindings:
^Whwill move to the window left of the current one
^Wjwill move to the window below the current one
^Wkwill move to the window above the current one
^Wlwill move to the window right of the current one
You can provide a count to the above keybindings to move across multiple windows.
You can reposition open windows using the following keybindings:
^WHwill move the current window to the left side of the screen, and use the full screen height
^WJwill move the current window to the bottom of the screen, and use the full screen width
^WKwill move the current window to the top of the screen, and use the full screen width
^WLwill move the current window to the right side of the screen, and use the full screen height
Sometimes, you may find yourself wanting to make a window occupy the whole screen without closing any of the other windows. You can:
^Wzto zoom in and out of a window without changing your current layout
^WTto extract the window into its own tab
You can close a window using
^Wq, or close all windows but the current one
^Wo. When provided with a count, these keybindings will operate against
that window position instead of the currently focused one.
If you prefer using commands, you can use
:quitto close the current window, or
:onlyto close all windows but the current one.