Skip to content

Latest commit

Β 

History

History
91 lines (59 loc) Β· 1.71 KB

File metadata and controls

91 lines (59 loc) Β· 1.71 KB

(cli-import)=

tmuxp import

Import and convert workspace configurations from other tmux session managers like teamocil and tmuxinator.

(import-teamocil)=

From teamocil

Import teamocil configuration files and convert them to tmuxp format.

Command

.. argparse::
    :module: tmuxp.cli
    :func: create_parser
    :prog: tmuxp
    :path: import teamocil

Basic usage


```console
$ tmuxp import teamocil /path/to/file.yaml
```


```console
$ tmuxp import teamocil /path/to/file.json
```

Importer improvements

The teamocil importer now supports:

  • v1.x format β€” windows at top level with commands key in panes
  • Focus β€” focus: true on windows and panes is preserved
  • Window options β€” options on windows are passed through

(import-tmuxinator)=

From tmuxinator

Import tmuxinator configuration files and convert them to tmuxp format.

Command

.. argparse::
    :module: tmuxp.cli
    :func: create_parser
    :prog: tmuxp
    :path: import tmuxinator

Basic usage


```console
$ tmuxp import tmuxinator /path/to/file.yaml
```


```console
$ tmuxp import tmuxinator /path/to/file.json
```

Importer improvements

The tmuxinator importer now supports:

  • Hook mapping β€” pre maps to on_project_start, pre_window maps to shell_command_before
  • CLI args β€” cli_args values (-f, -S, -L) are parsed into tmuxp config equivalents
  • Synchronize β€” synchronize window key is converted
  • Startup focus β€” startup_window / startup_pane convert to focus: true
  • Named panes β€” hash-key pane syntax converts to title on the pane