tmux-python / tmux-python/tmuxp
Multiple configs in single file
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 248
- Avg merge
- 2h 13m
- Merged PRs (30d)
- 1
Description
I'd like to have multiple configs in a single file, rather than having to spread them across multiple files. If a yaml file contains an array of objects, then tmuxp should load whichever of them matches, like tmuxp load first or tmuxp load second.
- session_name: first
windows: ...
- session_name: second
windows: ...
The config file can then be a single file under ~/.tmuxp/config.yml.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the tmuxp load command and its configuration-loading path. Check how a YAML file is currently selected and parsed, then define how the requested session name selects one object from an array. Done means a single ~/.tmuxp/config.yml can contain the shown first and second sessions and each can be loaded by name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100