I have just now installed tag list plugin. It is working fine except when, from the tag list window, I try to press Enter then the corresponding tag becomes yellow colored and hence I could not see anymore what I just searched for. How to change the color to more visible one?
Also the searched Tag position is not fixed, it does not come in alignment with the tag in tag list window, is there any way to solve this?
The line which I am actually trying to copy/paste in my .vimrc
is
highlight Search ctermfg=red ctermbg=NONE cterm=bold,underline
Thanks in advance.
You'll probably find the Yellow color, by typing
:highlight
. It lists all the different highlight groups (Comments, Function, Search,..), and the associated color.The color of the different highlight groups are defined in the
colorscheme
.You can find the current colorscheme in use by typing
:colorscheme
.Then you have different options.
$HOME/.vim/colors
(or$VIMRUNTIME/.vim/colors
for system wide modification).colorscheme new_theme
..vimrc
Assuming you want to modify the 'Search' group, you have to clear it first. For example, in your
.vimrc
:You can find more information by using Vim built-in help.
:help highlight
:help colorscheme