layout: Change layout of a tmux window

Description Usage Arguments Value

View source: R/layout.R

Description

Functions to get and set the layout of a tmux window.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
layout(target = NULL)

layout(target) <- value

set_layout(target = NULL, value)

layout_even_horizontal(target = NULL)

layout_even_vertical(target = NULL)

layout_main_horizontal(target = NULL, height = NULL)

layout_main_vertical(target = NULL, width = NULL)

layout_tiled(target = NULL)

layout_next(target = NULL)

layout_previous(target = NULL)

layout_even(target = NULL)

layout_undo(target = NULL)

layout_rotate(target = NULL, reverse = FALSE)

Arguments

target

A tmuxr_window. If NULL, use currently active window.

value

A string. Layout definition or name of preset.

width, height

An integer. Width or height of the main pane.

reverse

A logical. If TRUE the direction in which rotate the window is reversed. Default: FALSE.

Value

A string. Layout definition.


tmuxr documentation built on July 1, 2020, 5:19 p.m.