working colours in vim with tmux

This commit is contained in:
2020-09-21 20:35:26 +01:00
parent 25b7f49ffd
commit 2040d6ff85
2 changed files with 5 additions and 0 deletions

2
.tmux.conf Normal file
View File

@@ -0,0 +1,2 @@
set -g default-terminal 'screen-256color'
set -ga terminal-overrides ',screen-256color:Tc'

3
.vimrc
View File

@@ -30,6 +30,9 @@ filetype plugin indent on " required
" Colours
colorscheme base16-default-dark
syntax enable
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
set termguicolors
highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE gui=NONE guifg=DarkGrey guibg=NONE " line number colours
" Spaces & Tabs