summaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-03-22 12:11:58 -0700
committerBen Sima <ben@bsima.me>2019-03-22 12:11:58 -0700
commit1f050ae7715ea379a924ded2bbd22399ea611f47 (patch)
tree9db5b021f297e2d72d891c455a19a5f9715a0a62 /vimrc
parentfcb60b155cf01376a500d12db9bbd5dfd105c059 (diff)
Terminal vim colors
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 6a31188..4c51ef1 100644
--- a/vimrc
+++ b/vimrc
@@ -54,3 +54,8 @@ let g:netrw_liststyle=3 " Tree view
map <C-\> :tab split<CR>:exec("tag ".expand("<cword>"))<CR>
" open definition in a vertical split:
map <A-]> :vsp <CR>:exec("tag ".expand("<cword>"))<CR>
+
+""" Colors!
+set termguicolors
+let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
+let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"