tmux source-file
https://youtu.be/dDq0depPrTs
So you have been tricking out that .tmux.conf, youβre looking for a silky
smooth workflow that lets you fly through tmux with super speed, but every time
you tweak out that .tmux.conf you have to restart your whole session. Not amymore,
Letβs add this to the bottom of our tmux.conf so that you can see everytime it
gets sourced.
display-message "hello beautiful"
command # [1]
We can run this command from your shell to re-source your changed .tmux.conf
tmux source-file ~/.tmux.conf
It also works from the tmux command line.
source-file ~/.tmux.conf
tmux hotkey # [2]
Itβs very common to set this up as a keybinding so that you can do it easily
without needing to memorize the exact command.
bind -T prefix r source-file ~/.tmux.conf
bind -n M-r source-file ~/.tmux.conf
from vim # [3]
This is my preferred way of re-sourcing my .tmux.conf. It sits quietly in
the background, and I dont need to remember to do anything. If you are a vim
user you can automat...