From fdbf137e464675dcfc5f2a8885d5e4d0164d80b3 Mon Sep 17 00:00:00 2001 From: Rudolf Tucek Date: Sat, 8 Aug 2026 01:57:07 +0200 Subject: [PATCH] tmux: pass-through focus events Pass on focus event through tmux. This fixes issues with neovim's `autoread` setting, since tmux used to swallow the focus event. --- home/tmux/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/tmux/default.nix b/home/tmux/default.nix index 8873ecb..6b90522 100644 --- a/home/tmux/default.nix +++ b/home/tmux/default.nix @@ -28,6 +28,9 @@ # Cursor shape set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q' + # Pass-on focus events to appliations + set -g focus-events on + # Ensure colors are set properly set-option -sa terminal-overrides ',rxvt-unicode-256color:RGB' # urxvt set-option -sa terminal-overrides ',xterm-256color:RGB' # terminator