added tmux conf
This commit is contained in:
parent
0d5b67ca9a
commit
828c6ea195
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue