(cli-import)=
Import and convert workspace configurations from other tmux session managers like teamocil and tmuxinator.
(import-teamocil)=
Import teamocil configuration files and convert them to tmuxp format.
.. argparse::
:module: tmuxp.cli
:func: create_parser
:prog: tmuxp
:path: import teamocil
```console
$ tmuxp import teamocil /path/to/file.yaml
```
```console
$ tmuxp import teamocil /path/to/file.json
```
The teamocil importer now supports:
- v1.x format β
windowsat top level withcommandskey in panes - Focus β
focus: trueon windows and panes is preserved - Window options β
optionson windows are passed through
(import-tmuxinator)=
Import tmuxinator configuration files and convert them to tmuxp format.
.. argparse::
:module: tmuxp.cli
:func: create_parser
:prog: tmuxp
:path: import tmuxinator
```console
$ tmuxp import tmuxinator /path/to/file.yaml
```
```console
$ tmuxp import tmuxinator /path/to/file.json
```
The tmuxinator importer now supports:
- Hook mapping β
premaps toon_project_start,pre_windowmaps toshell_command_before - CLI args β
cli_argsvalues (-f,-S,-L) are parsed into tmuxp config equivalents - Synchronize β
synchronizewindow key is converted - Startup focus β
startup_window/startup_paneconvert tofocus: true - Named panes β hash-key pane syntax converts to
titleon the pane