]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
vim: support for truecolors
[dotfiles.git] / vim / vimrc
index 675b5ab2fc4f5f551057152b6dbf714b57b8f4d5..67b77a619f467ff98c216fa54cfece6d2843883d 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -125,6 +125,9 @@ filetype plugin indent on
 " colorscheme {{{1
 syntax on
 set background=dark
+let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
+let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
+set termguicolors
 colorscheme $THEME
 
 " options {{{1