bew
January 22, 2023, 6:06pm
1
Basically, my comments are in italic
I want the visual selection to be bold (to make it subtly more visible, usually with brighter colors in terminal)
But when I do hi Comment cterm=italic
and hi Visual cterm=bold
, selecting something in visual mode makes the selection bold
instead of italic,bold
.
Maybe there could be a kind of cterm=merge,bold
for Visual ?
1 Like
tongap
January 27, 2023, 5:34am
2
Try gui=italic
and gui=bold
. Also read :h termguicolors
.
HiPhish
January 28, 2023, 11:34pm
3
Works on my machine.
Comment xxx cterm=italic ctermfg=10 gui=italic guifg=#586e75
Visual xxx ctermfg=8 ctermbg=10 gui=bold guifg=#002b36 guibg=#586e75
Note that I am using GUI colours in because my terminal has true colour support. Check the option termguicolors
. Maybe there is a limitation in cterm that makes it impossible to have text that is both bold and italic?