How do I change the ~/.vimrc to have the comments in my code italicized?
~/.vimrc
In my ~/.vimrc file I have:
highlight Comment ctermfg=
In my case I had to put this in my vimrc file:
vimrc
let &t_ZH="\e[3m" let &t_ZR="\e[23m" highlight Comment cterm=italic
Notice it is not the same as:
set t_ZH=^[[3m set t_ZR=^[[23m highlight Comment cterm=italic
The former worked for me, while the latter didn't.