Create a new pane by splitting target.
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
)
A tmuxr_session, tmuxr_window, or tmuxr_pane.
A logical. If TRUE split target vertically, otherwise
horizontally. Default: TRUE.
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.
A logical. If TRUE, create the new pane to the left of or
above the active pane. Default: FALSE.
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.
A string. Working directory this pane is run in.
A string. Shell command to be invoked when creating the
pane. If NULL, the default shell is used.
A tmuxr_pane.