From b214f349042c424eef852207abd5c6ce1e7775f6 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Fri, 10 Aug 2018 14:23:19 +0200 Subject: [PATCH] Reload configuration with leader r --- .tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index b1b9d50..ed17606 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -3,6 +3,7 @@ set -g bell-action any # Default termtype. If the rcfile sets $TERM, that overrides this value. set -g default-terminal tmux-256color-italic +set -g terminal-overrides ',tmux-256color-italic:Tc' # Keep your finger on ctrl, or don't bind-key ^D detach-client @@ -123,3 +124,6 @@ bind - \ # Local config if-shell "[ -f ~/.tmux.conf.user ]" 'source ~/.tmux.conf.user' + +# reload config with leader-r +bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."