Skip to contents

Swap two tmux windows or panes

Usage

swap_pane(from = NULL, to = NULL, reverse = FALSE, select = TRUE)

swap_window(from = NULL, to = NULL, select = TRUE)

Arguments

from

A tmuxr_window or tmuxr_pane.

to

A tmuxr_window or tmuxr_pane.

reverse

A logical.

select

A logical. If FALSE, do not select the new window or pane. Default: TRUE.