summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-08-16 12:51:54 -0500
committerMarc Coquand <marc@mccd.space>2024-08-16 12:51:54 -0500
commit1c1bab4e0f73aadec8def78a5313d22e1fb9462f (patch)
tree63a528ddcc2d53d744a1b21fb85a34b6af2e9937 /vim
parent852b533d3740f9e0bec3618b2a5fcb56281b09d9 (diff)
downloadbsd-1c1bab4e0f73aadec8def78a5313d22e1fb9462f.tar.gz
bsd-1c1bab4e0f73aadec8def78a5313d22e1fb9462f.tar.bz2
bsd-1c1bab4e0f73aadec8def78a5313d22e1fb9462f.zip
openbsd updates
Diffstat (limited to '')
-rw-r--r--vimrc17
1 files changed, 13 insertions, 4 deletions
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 = "\<Esc>[6 q"