tmux-python / tmux-python/tmuxp
Spawning tmuxp sessions from within tmux 2
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 248
- Avg merge
- 2h 13m
- Merged PRs (30d)
- 1
Description
Awesome project guys 😎
Following Primeagen's bindings I made a binding for opening tmuxp sessions from within tmux, which might be useful to include in the README.
bind-key S command-prompt -p "tmux session name:" 'run-shell "tmuxp load %%'' -y"'
You can do an alternative with -d if you don't want to attach right away.
The message [Loading] .tmuxp/session.yaml does seem to hang in the 1st window so the binding might need tweaking 🤔
There was an original issue #56 which had some Python based solution but the link doesn't work anymore and the issue got closed as stale.
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 by reviewing the README and the tmux binding shown in the issue, then reproduce loading a tmuxp session from within tmux using the referenced .tmuxp/session.yaml. Check the earlier issue #56 for context. Done means the supported binding is documented and its loading behavior is clarified or corrected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100