new_pane: Create a new tmux pane

Description Usage Arguments Value

View source: R/pane.R

Description

Create a new pane by splitting target.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
new_pane(
  target = NULL,
  vertical = TRUE,
  size = NULL,
  before = FALSE,
  full = FALSE,
  start_directory = NULL,
  shell_command = NULL
)

split_window(
  target = NULL,
  vertical = TRUE,
  size = NULL,
  before = FALSE,
  full = FALSE,
  start_directory = NULL,
  shell_command = NULL
)

Arguments

target

A tmuxr_session, tmuxr_window, or tmuxr_pane.

vertical

A logical. If TRUE split target vertically, otherwise horizontally. Default: TRUE.

size

A numeric. The size of the new pane in lines (for vertical splits) or characters (for horizontal splits). If less than 0, size is interpreted as a percentage. Default: NULL.

before

A logical. If TRUE, create the new pane to the left of or above the active pane. Default: FALSE.

full

A logical. If TRUE, create a new pane spanning the full window width (for vertical splits) or full window height (for horizontal splits), instead of splitting the active pane. Default: FALSE.

start_directory

A string. Working directory this pane is run in.

shell_command

A string. Shell command to be invoked when creating the pane. If NULL, the default shell is used.

Value

A tmuxr_pane.


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