Ensure autoreload works with nvim+tmux

This commit is contained in:
don philipe
2025-06-05 09:38:51 +02:00
parent 4260c7876c
commit b62f1697a2

View File

@@ -3,6 +3,8 @@ set -g default-shell /usr/bin/zsh
set-window-option -g window-active-style bg=terminal set-window-option -g window-active-style bg=terminal
# grayed background for inactive panes # grayed background for inactive panes
set-window-option -g window-style bg="#32302f" 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 # https://gist.github.com/andersevenrud/015e61af2fd264371032763d4ed965b6
set -g default-terminal "tmux-256color" set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",$TERM:RGB" set -ag terminal-overrides ",$TERM:RGB"