summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSkladnayazebra <skladnayazebra@gmail.com>2025-12-15 12:55:00 +0100
committerSkladnayazebra <skladnayazebra@gmail.com>2025-12-15 12:55:00 +0100
commit65984f73686484d341640c011ce0bfc685d386c5 (patch)
tree1b86f58fb7ea96346b65d663a34fe36afd34b5d7
parentcd7032e74c1c4aaa1d02f242603a7e00d6a5766a (diff)
Add focus-events to tmux config
-rw-r--r--tmux/tmux.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
index 2b94e06..68be347 100644
--- a/tmux/tmux.conf
+++ b/tmux/tmux.conf
@@ -18,6 +18,9 @@ bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
+# needed for autoread to work in neovim
+set-option -g focus-events on
+
# highlight current window in status bar
set-window-option -g window-status-current-style 'bg=brightwhite'
set-window-option -g window-status-current-format ' #I:#W '