working colours in vim with tmux
This commit is contained in:
2
.tmux.conf
Normal file
2
.tmux.conf
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
set -g default-terminal 'screen-256color'
|
||||||
|
set -ga terminal-overrides ',screen-256color:Tc'
|
||||||
3
.vimrc
3
.vimrc
@@ -30,6 +30,9 @@ filetype plugin indent on " required
|
|||||||
" Colours
|
" Colours
|
||||||
colorscheme base16-default-dark
|
colorscheme base16-default-dark
|
||||||
syntax enable
|
syntax enable
|
||||||
|
|
||||||
|
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||||
|
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
||||||
set termguicolors
|
set termguicolors
|
||||||
highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE gui=NONE guifg=DarkGrey guibg=NONE " line number colours
|
highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE gui=NONE guifg=DarkGrey guibg=NONE " line number colours
|
||||||
" Spaces & Tabs
|
" Spaces & Tabs
|
||||||
|
|||||||
Reference in New Issue
Block a user