Open rightaway opened 4 years ago
Or even better the config file can just be ~/.tmuxp.yml
. Or following the XDG specification it could be be ~/.config/tmuxp.yml
.
You can also have a custom tmuxp config directory by setting the TMUX_CONFIGDIR
in your environment variables:
export TMUXP_CONFIGDIR=$HOME/.config/tmuxp
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.
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.
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
ortmuxp load second
.The config file can then be a single file under
~/.tmuxp/config.yml
.