Fix vim colorscheme inside tmux

This commit is contained in:
2019-11-25 00:44:30 +01:00
parent d49756c711
commit f56fdb28d0
2 changed files with 4 additions and 2 deletions

View File

@@ -41,8 +41,10 @@ Plug 'cocopon/iceberg.vim'
call plug#end()
""Colors
colorscheme iceberg
"set t_Co=256
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
function! g:Goyo_before()
let b:quitting = 0