summaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
Diffstat (limited to 'tmux')
-rw-r--r--tmux/.tmux.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
index 17d199f..040f93d 100644
--- a/tmux/.tmux.conf
+++ b/tmux/.tmux.conf
@@ -21,6 +21,7 @@ set -g default-terminal "screen-256color"
set -g pane-border-status off # Alternative: top/bottom/...
set -g pane-border-format "#{pane_current_command}"
set -g status-justify centre # Center window list
+set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q' # Get | cursor nvim insert
set-hook -g session-created "if-shell '[ -n \""'$SSH_CONNECTION'"\" ]' 'set status-bg \"#aa4444\"' 'set status-bg \"green\"'"
set-hook -g client-attached "if-shell '[ -n \""'$SSH_CONNECTION'"\" ]' 'set status-bg \"#aa4444\"' 'set status-bg \"green\"'"