aboutsummaryrefslogtreecommitdiff
path: root/stow/tmux
diff options
context:
space:
mode:
Diffstat (limited to 'stow/tmux')
-rw-r--r--stow/tmux/.tmux.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/stow/tmux/.tmux.conf b/stow/tmux/.tmux.conf
index 9c9d5bf..f106924 100644
--- a/stow/tmux/.tmux.conf
+++ b/stow/tmux/.tmux.conf
@@ -56,8 +56,6 @@ bind C-w run-shell "~/.tmux/scripts/window_renum"
# Help with the color problems
set -g default-terminal "screen-256color"
-# Mouse Scrolling
-set-option -g mouse on
# Use vim keybindings in copy mode and help menus
setw -g mode-keys vi
# Set the display panes timeout
@@ -86,6 +84,9 @@ set-option -g status-justify "centre"
set-option -g status-left-length 110
set-option -g status-left "#S [#H]"
set-option -g status-right "#{?window_bigger,[#{window_offset_x}#,#{window_offset_y}] ,}\"#{=21:pane_title}\" %H:%M %Y-%m-%d"
+set-option -g focus-events on
+# Log focus to file
+set-hook -g pane-focus-in 'run "echo I #{pane_id} $(date) >>/tmp/focus"'
# List of plugins
set -g @plugin 'tmux-plugins/tpm'