summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2019-06-07 00:39:53 +0200
committerTharre <tharre3@gmail.com>2019-06-07 00:40:33 +0200
commit8d4b997f87008d92fa92c7e27f48d50da2a61150 (patch)
tree6668f7431abb4f93c9af72f6e11f5fca6532b799 /.vimrc
parentad970779585eaa338fd4266f100bcbe3bfe7e3cc (diff)
downloaddotfiles-8d4b997f87008d92fa92c7e27f48d50da2a61150.tar.gz
dotfiles-8d4b997f87008d92fa92c7e27f48d50da2a61150.tar.xz
dotfiles-8d4b997f87008d92fa92c7e27f48d50da2a61150.zip
vim: enable true-color
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index f73c060..1d75e16 100644
--- a/.vimrc
+++ b/.vimrc
@@ -77,7 +77,11 @@ endif
if !has('gui_running') && &t_Co != 256
colorscheme delek
else
+ " enable true color support, see :h xterm-true-color
+ let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
+ let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
colorscheme distinguished
+ set termguicolors
endif
" Load matchit.vim, but only if the user hasn't installed a newer version.