From 1c1bab4e0f73aadec8def78a5313d22e1fb9462f Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Fri, 16 Aug 2024 12:51:54 -0500 Subject: openbsd updates --- vimrc | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index bcbd257..a66c580 100644 --- a/vimrc +++ b/vimrc @@ -22,18 +22,27 @@ set matchpairs+=<:> syntax on set title set background=light -set termguicolors colorscheme quiet set t_Co=256 -set tgc +set termguicolors +if &term =~ '256color' + " disable Background Color Erase (BCE) so that color schemes + " render properly when inside 256-color tmux and GNU screen. + " see also https://sunaku.github.io/vim-256color-bce.html + set t_ut= +endif hi Normal guifg=black guibg=#FFFFFF -"hi String guifg=blue -hi Comment guifg=blue cterm=italic +"hi String guifg=blue guibg=white +hi Comment guifg=blue guibg=white cterm=italic hi Directory cterm=bold hi SpellBad term=reverse term=underline guibg=#FFFFFF hi SpellCap term=reverse term=underline guibg=#FFFFFF hi SpellRare term=reverse term=underline guibg=#FFFFFF hi SpellLocal term=reverse term=underline guibg=#FFFFFF +hi clear StatusLine +hi clear PmenuKindSel +hi PmenuKindSel term=bold guifg=blue guibg=#333333 +hi StatusLine term=bold guifg=white guibg=#333333 "" Cursor - switch between line and full when going to insert mode let &t_SI = "\[6 q" -- cgit v1.2.3