Fix vim colorscheme inside tmux
This commit is contained in:
parent
d49756c711
commit
f56fdb28d0
|
@ -7,7 +7,7 @@ bind C-x send-prefix
|
||||||
set -g bell-action any
|
set -g bell-action any
|
||||||
|
|
||||||
## Set default terminal
|
## Set default terminal
|
||||||
set -g default-terminal "xterm-kitty"
|
set -g default-terminal "screen-256color"
|
||||||
set -ga terminal-overrides ",xterm-kitty:Tc"
|
set -ga terminal-overrides ",xterm-kitty:Tc"
|
||||||
|
|
||||||
# i3 split bindings
|
# i3 split bindings
|
||||||
|
|
|
@ -41,8 +41,10 @@ Plug 'cocopon/iceberg.vim'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
""Colors
|
""Colors
|
||||||
colorscheme iceberg
|
colorscheme iceberg
|
||||||
"set t_Co=256
|
|
||||||
set termguicolors
|
set termguicolors
|
||||||
|
""Sets the colorscheme in tmux
|
||||||
|
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||||
|
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
||||||
""Quitting whether Goyo is active or not
|
""Quitting whether Goyo is active or not
|
||||||
function! g:Goyo_before()
|
function! g:Goyo_before()
|
||||||
let b:quitting = 0
|
let b:quitting = 0
|
||||||
|
|
Loading…
Reference in New Issue