Manage tmux workspaces from JSON and YAML, pythonic API, shell completion
Project description
tmuxp solves the panes / pains of managing workspaces.
Open to testers
tmuxp is still alpha code and needs a few more weeks until stable. See the Issues tracker to see known issues and for any other concerns.
Install
install tmux, at least version 1.8
libyaml is installed for your distribution.
Install tmuxp:
$ pip install tmuxp
See: Quickstart
tmux bash completion
tmuxp uses switch-client for you if already in a TMUX client.
$ tmuxp attach-session<tab> # current sessions
$ tmuxp kill-session<tab> # current sessions
Load a session configuration from a YAML or JSON file.
$ tmuxp load<tab> # configs in config dir, current directory
Convert a session config JSON <=> YAML:
$ tmuxp convert<tab> # configs in config dir, current directory
See: bash completion
load tmux sessions from yaml and json
Load from ~/.tmuxp.yaml or ~/.tmuxp.json in current directory.
$ tmuxp load .
Load myconfig.yaml.
$ tmuxp load myconfig.yaml
$ mkdir ~/.tmuxp and make a file ~/.tmuxp/test.yaml.
session_name: 2-pane-vertical
windows:
- window_name: my test window
panes:
- pwd
- pwd
$ tmuxp load test.yaml
or ~/.tmuxp/test.json:
{
"windows": [
{
"panes": [
"pwd",
"pwd"
],
"window_name": "my test window"
}
],
"session_name": "2-pane-vertical"
}
$ tmuxp load test.json
See: Examples
tmux support |
1.8, 1.9-dev |
config support |
yaml, json, python dict |
Travis |
|
Docs |
|
API |
|
Changelog |
|
Issues |
|
Source |
|
pypi |
|
License |
BSD. |
git repo |
|
install dev |
See the developing and testing page in the docs for more. |
tests |
|
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file tmuxp-0.0.15-dev.tar.gz
.
File metadata
- Download URL: tmuxp-0.0.15-dev.tar.gz
- Upload date:
- Size: 47.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab543cb829577fd942d732b99a7342c0512a6ce9ebc7bf8ba362de54047d731d |
|
MD5 | 29f9fca80471594d8acda375eaa6fad6 |
|
BLAKE2b-256 | 25823458768233553a1cde8c15dafabbc346937ee0cf6016ce2a0cf1cedbd8e1 |