Fix vim colorscheme in tmux
- tags: vim, tmux, colorscheme, fix
- date: 2023-05-16
I'm using vim in tmux for writting my gemtext. But I scratched my head to find out a solution to have correct color.
So this what works for me :
- get solarized8_dark
- in .zshrc `export TERM="screen-256color"`
- in vimrc add this line :
let &t_8f = "\[38;2;%lu;%lu;%lum" let &t_8b = "\ [48;2;%lu;%lu;%lum"