diff --git a/.config/tmux/conf.tmux b/.config/tmux/conf.tmux index dddec04e..4747494f 100644 --- a/.config/tmux/conf.tmux +++ b/.config/tmux/conf.tmux @@ -42,6 +42,9 @@ bind L clear-history \; send-keys C-l # Enable mouse control set -g mouse on +# Enable focus events to allow tmux to detect when it is focused or unfocused +set -g focus-events on + # List of plugins set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible'