Skip to contents

Create and destroy

attach_pane()
Attach to an existing tmux pane
attach_session()
Attach to an existing tmux session
attach_window()
Attach to an existing tmux window
kill_pane()
Kill a tmux pane
kill_server()
Kill the tmux server
kill_session()
Kill a tmux session
kill_window()
Kill a tmux window
new_pane() split_window()
Create a new tmux pane
new_session()
Create a new tmux session
new_window()
Create a new tmux window
start_server()
Start the tmux server

Inspect

id()
Identifier of a tmux object
index()
Index of a tmux object
is_active()
Is tmux object active?
is_installed()
Is tmux installed correctly?
is_running()
Is the tmux server running?
list_panes()
List tmux panes
list_sessions()
List tmux sessions
list_windows()
List tmux windows

Layout and style

Interact

capture_pane()
Capture the contents of a tmux pane
pipe_pane()
Pipe contents of a tmux pane to a shell command
send_keys()
Send keys to a tmux pane
send_prefix()
Send prefix to a tmux pane

Helpers

display_message()
Display a message
prop()
Properties of a tmux object
set_option()
Set option
strfstyle() strpstyle()
Format and parse style strings
tmux_command()
Execute a tmux command
tmux_version()
Get tmux version

Miscellaneous

clock_mode()
Display a large clock