1
0
Fork 0

tmux: set some options recommended by nvim

This commit is contained in:
tastytea 2022-08-11 15:06:40 +02:00
parent c51f8cd8b0
commit d358289366
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 8 additions and 2 deletions

View File

@ -17,9 +17,9 @@ set -g base-index 1
set -g default-command "exec /bin/zsh"
# Enable Truecolor
set-option -ga terminal-overrides ",xterm*:RGB:Tc,rxvt-unicode*:RGB:Tc"
set -ga terminal-overrides ",xterm*:RGB:Tc,rxvt-unicode*:RGB:Tc"
%if '#{>=:#{version},3.2}'
set -ga terminal-features ",alacritty*:RGB"
set -sa terminal-features ",alacritty*:RGB"
%else
set -ga terminal-overrides ",alacritty*:Tc"
%endif
@ -40,6 +40,12 @@ set-option -g set-titles-string "#T"
# Make text selection work
set -g mouse off
# Time in ms to check if it is part of a function / sequence. Lowered for nvim.
set -sg escape-time 10
# pass focus events to applications
set -g focus-events
# THEME
tmux_colour_status1="colour61" # violet
tmux_colour_status2="colour97" # dark pink