Import from Teamocil
LibTmux.Workspace 0.0.0-alpha.20 · Source
Import a Teamocil file without starting tmux. Save this source as teamocil.yaml:
session: name: imported-team windows: - name: editor layout: even-horizontal panes: - commands: [printf ready] - commands: [printf second]Preview the translation¶
$ tmux-workspace import teamocil --json ./teamocil.yamlThe translated document preserves window and pane order. Several commands in
one Teamocil commands list become one semicolon-separated shell input in that
pane. Review the absolute working directories selected by the import.
Save the workspace¶
$ tmux-workspace import teamocil \ --json \ --workspace-format yaml \ --save-to imported-teamocil.yaml \ ./teamocil.yamlUse --force only to replace an existing destination deliberately. Unsupported
fields, such as pane widths and filters, fail before saving. Conversion does
not prove that a command or directory will be available when you
load the result.