From b62f1697a244b9f228ffbdc839f0f3950b226490 Mon Sep 17 00:00:00 2001 From: don philipe Date: Thu, 5 Jun 2025 09:38:51 +0200 Subject: [PATCH] Ensure autoreload works with nvim+tmux --- .tmux.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index 6f65f35..d1efc64 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -3,6 +3,8 @@ set -g default-shell /usr/bin/zsh set-window-option -g window-active-style bg=terminal # grayed background for inactive panes set-window-option -g window-style bg="#32302f" +# ensure "autoread" works in nvim (auto reload files when changed) +set-option -g focus-events on # https://gist.github.com/andersevenrud/015e61af2fd264371032763d4ed965b6 set -g default-terminal "tmux-256color" set -ag terminal-overrides ",$TERM:RGB"