tmux: Enable mouse and add config reload binding
Assisted-by: Claude Opus 4.6 via pi
change nwowxkkpnrlmswwzqnxypqoxlmtyyslm
commit 763c496b7dac317b4bb2677167c67db9cb31513f
author Alpha Chen <alpha@kejadlen.dev>
date
parent sxstsvyu
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
index b2d0324a..4e28d003 100644
--- a/.config/tmux/tmux.conf
+++ b/.config/tmux/tmux.conf
@@ -17,7 +17,7 @@ set-option -g set-titles-string "[#S] #I:#W"
 set-option -g automatic-rename on
 
 ## mouse
-# set -g mouse on
+set -g mouse on
 
 # copy and paste
 set-window-option -g mode-keys vi
@@ -86,6 +86,7 @@ bind s split-window -v -c '#{pane_current_path}';
 # bind -Troot C-g switch-client -Tfzf-git
 
 bind C-y run -b ~/.dotfiles/bin/,tmux-copy
+bind r source-file ~/.config/tmux/tmux.conf \; display-message "tmux.conf reloaded"
 
 if-shell "[[ -e ~/.config/tmux/tmux.conf.local ]]" "source-file ~/.config/tmux/tmux.conf.local"