window moving/number changing

Syntax

WINDOW NUMBER [-sticky] <number>
WINDOW MOVE PREV
WINDOW MOVE NEXT
WINDOW MOVE FIRST
WINDOW MOVE LAST
WINDOW MOVE <number>|<direction>
WINDOW MOVE LEFT [-directional]
WINDOW MOVE RIGHT [-directional]

Parameters

NUMBER:

Change the active window number to the specified number, swapping the window already in that place if required. With -sticky, protect the window number from renumbering done by windows_auto_renumber. (To re-set the sticky attribute, use WINDOW NUMBER again without -sticky.)

MOVE PREV:

Move the window to the place of the numerically previous window. At the first position, move the window to the end and renumber the consecutive block that it was part of.

MOVE NEXT:

Move the window to the place of the numerically next window. At the last position, move the window to the first position and renumber the consecutive block at first position (if any)

MOVE FIRST:

Move the window to the first position. Any windows inbetween are moved to their numerically next positions.

MOVE LAST:

Move the window to the last position. Any windows inbetween are moved to their numerically previous positions.

MOVE:

Move the window to the specified number or the first number that is in use when moving the window in the direction of the specified position. Any windows inbetween are shifted towards the old position of the window (unused positions remain empty)

MOVE LEFT:

Move the window to the numerically previous location inside the current sticky group.

MOVE RIGHT:

Move the window to the numerically next location inside the current sticky group.

-directional:

Set the split window in the given direction to the current one active, or move the current window to the sticky group of the split window in the given direction. (If no sticky group remains, the split window collapses.)

Add the required arguments for the given command. Without arguments, the details (size, immortality, levels, server, name and sticky group) of the currently active window are displayed. If used with a number as argument, same as WINDOW REFNUM.

LEVEL and HIDELEVEL modify the currently set level. Without arguments, the current level is displayed. Levels listed starting with + are added to the current levels. Levels listed starting with - are removed from the current levels. To clear the levels, start the new level setting with NONE. Levels listed starting with ^ are either removed or added from the current setting, depending on whether they were previously set or not (since Irssi 1.4.4). Levels listed as is are also added to the current levels. Afterwards, the new level setting is displayed.

Description

Manipulates the window layout and positioning attributes.

Examples

See also

JOIN, LEVELS, LOG, QUERY, SET window_default_level, SET window_default_hidelevel