-
Notifications
You must be signed in to change notification settings - Fork 231
Open
Labels
new-featurePossible interesting new feature to be considered for implementation.Possible interesting new feature to be considered for implementation.
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
.
Metadata
Metadata
Assignees
Labels
new-featurePossible interesting new feature to be considered for implementation.Possible interesting new feature to be considered for implementation.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
rightaway commentedon Apr 27, 2020
Or even better the config file can just be
~/.tmuxp.yml
. Or following the XDG specification it could be be~/.config/tmuxp.yml
.lifeBalance commentedon Apr 30, 2020
You can also have a custom tmuxp config directory by setting the
TMUX_CONFIGDIR
in your environment variables:rightaway commentedon Apr 30, 2020
With a single file there won't even be a need for a directory. Everything can be in a single file
~/.config/tmuxp.yml
making configuration tmuxp even easier.lifeBalance commentedon Apr 30, 2020
Don't agree with you about the single file thing; I was just letting you know that if you want to keep your config files in an XDG-compliant directory you totally can.