Tmuxp Documentation

tmuxp Documentation

Release 1.5.5 Tony Narlock

Aug 15, 2020

CONTENTS

1 tmux session manager

1

1.1 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

1.2 Load a tmux session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

1.3 User-level configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

1.4 Pre-load hook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

1.5 Load in detached state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

1.6 Screenshot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

1.7 Freeze a tmux session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

1.8 Pre-load hook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.9 Load in detached state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.10 Screenshot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.11 Freeze a tmux session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.12 Docs / Reading material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.13 Donations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.14 Project details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Python Module Index

73

Index

75

i

ii

CHAPTER

ONE

TMUX SESSION MANAGER

We need help! tmuxp is a trusted session manager for tmux. If you could lend your time to helping answer issues and QA pull requests, please do! See issue #290! New to tmux? The Tao of tmux is available on Leanpub and Amazon Kindle. Read and browse the book for free on the web.

1.1 Installation

$ pip install --user tmuxp

1.2 Load a tmux session

Load tmux sessions via json and YAML, tmuxinator and teamocil style.

session_name: 4-pane-split windows: - window_name: dev window

layout: tiled shell_command_before:

- cd ~/ panes:

- shell_command: - cd /var/log - ls -al | grep \.log

- echo second pane - echo third pane - echo forth pane

# run as a first command in all panes

# pane no. 1 # run multiple commands in this pane

# pane no. 2 # pane no. 3 # pane no. 4

Save as mysession.yaml, and load: $ tmuxp load ./mysession.yaml

Projects with .tmuxp.yaml or .tmuxp.json load via directory: $ tmuxp load path/to/my/project/

Load multiple at once (in bg, offer to attach last): $ tmuxp load mysession ./another/project/

1

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download