added tmux conf

This commit is contained in:
Stefan Friese 2023-07-24 10:12:31 +02:00
parent 0d5b67ca9a
commit 828c6ea195
2 changed files with 21 additions and 0 deletions

14
tmux/.tmux.conf Executable file
View File

@ -0,0 +1,14 @@
# set -g default-terminal screen-256color
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*256col*:Tc"
set -g mouse on
bind r source-file ~/.tmux.conf \; display "Reloaded!"
set-option -g history-limit 5000
setw -g automatic-rename on
set-option -g status-position top
# set the status line's colors
set -g status-style fg=black,bg=#928374

View File

@ -169,3 +169,10 @@ packloadall
" Load all of the helptags now, after plugins have been loaded.
" All messages and errors will be ignored.
silent! helptags ALL
" tmux color correction
if exists('+termguicolors')
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
set termguicolors
endif