Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linux VIM : Omnicppcomplete + supertab use bash color theme

I use vim with omnicppcomplete and supertab for programming. The dropdown window, which shows possible completions is like pink. How can i change the color for example to my personal bash color theme?

like image 723
Ubuntix Avatar asked Dec 01 '25 03:12

Ubuntix


1 Answers

  1. Open your colorscheme.
  2. Find the lines that start with hi Pmenu*.
  3. Edit them to your liking.

If there's no such line in your colorscheme, add the lines below and change the colors to what you want:

hi Pmenu        cterm=none ctermfg=White     ctermbg=Black
hi PmenuSel     cterm=none ctermfg=Black     ctermbg=DarkGreen
hi PmenuSbar    cterm=none ctermfg=none      ctermbg=Green
hi PmenuThumb   cterm=none ctermfg=DarkGreen ctermbg=DarkGreen

See :help :highlight for more.

like image 68
romainl Avatar answered Dec 02 '25 20:12

romainl



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!