summaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2019-09-16 09:54:08 +0100
committerUrbain Vaes <urbain@vaes.uk>2019-09-16 09:54:08 +0100
commitcd726a169fc12359b750f5eabf73e8c6c556691a (patch)
tree3b3116c04b3f653e29bcd2c51ad376a07f0c619f /tmux
parentfa700a6e75c594594fba22a227d021bb8271793f (diff)
Fix cursor shape in tmux
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\"'"