Re: completion menu colors
fREW wrote: Is there a way to change the completion menu colors? Sure - see http://vim.sourceforge.net/scripts/script.php?script_id=1081 which both displays the current colors in whatever colorscheme you're using, plus provides a colorscheme editor (just rightmouse click on a color). The colors you're interested in changing are: Pmenu PmenuSbar PmenuSel PmenuThumb . (A leftmouse click on a color jumps the associated bit of text in the help describing the highlight's purpose). To invoke: :help hicolors Regards, Chip Campbell
Re: completion menu colors
[EMAIL PROTECTED] wrote: > fREW <[EMAIL PROTECTED]> 写于 2007-04-03 10:56:11: >> Are these things that should be set in the colorschemes, but just >> aren't yet because the names are new, or what? >> >> -fREW > > This should be set in colorscheme, however, if you're using the default > colorschme it is buit-in with Vim and you cannot change the source code of > colorscheme. > > If you are not using the default colorscheme, then you can just edit the > colorscheme and set those settings. > > Note: a colorscheme does not have to set all the highlight settings, the > settings which are not set inside a colorscheme will use the default. > > -- > Sincerely, Pan, Shi Zhu. ext: 2606 To edit a colorscheme, first copy it under a different name into $HOME/.vim/colors (on Unix) or $HOME/vimfiles/colors (in Vim notation, for Windows). Any changes you make in the directory tree starting at $VIMRUNTIME may be overwritten without warning by any future upgrade of Vim, and the $VIMRUNTIME tree will in any case be recreated from scratch the day you install Vim 7.1 or Vim 8. By that time you will probably have forgotten the details of your changes, if you made any. Best regards, Tony.
Re: completion menu colors
fREW <[EMAIL PROTECTED]> 写于 2007-04-03 10:56:11: > > Are these things that should be set in the colorschemes, but just > aren't yet because the names are new, or what? > > -fREW This should be set in colorscheme, however, if you're using the default colorschme it is buit-in with Vim and you cannot change the source code of colorscheme. If you are not using the default colorscheme, then you can just edit the colorscheme and set those settings. Note: a colorscheme does not have to set all the highlight settings, the settings which are not set inside a colorscheme will use the default. -- Sincerely, Pan, Shi Zhu. ext: 2606
Re: completion menu colors
On 4/2/07, Peter Hodge <[EMAIL PROTECTED]> wrote: --- fREW <[EMAIL PROTECTED]> wrote: > Hi all, > Is there a way to change the completion menu colors? Change the highlighting options for the Pmenu* highlight groups: :hi Pmenu ctermfg=Cyanctermbg=Blue cterm=None guifg=Cyan guibg=DarkBlue :hi PmenuSel ctermfg=White ctermbg=Blue cterm=Bold guifg=White guibg=DarkBlue gui=Bold :hi PmenuSbar ctermbg=Cyanguibg=Cyan :hi PmenuThumb ctermfg=White guifg=White etc. The 'cterm*' settings are for colour terminal, the 'gui*' settings are for GUI. You can see all colour groups by using ':runtime syntax/hitest.vim', or in GUI Vim use the menu selection Syntax -> Highlight Test. regards, Peter Are these things that should be set in the colorschemes, but just aren't yet because the names are new, or what? -fREW
Re: completion menu colors
--- fREW <[EMAIL PROTECTED]> wrote: > Hi all, > Is there a way to change the completion menu colors? Change the highlighting options for the Pmenu* highlight groups: :hi Pmenu ctermfg=Cyanctermbg=Blue cterm=None guifg=Cyan guibg=DarkBlue :hi PmenuSel ctermfg=White ctermbg=Blue cterm=Bold guifg=White guibg=DarkBlue gui=Bold :hi PmenuSbar ctermbg=Cyanguibg=Cyan :hi PmenuThumb ctermfg=White guifg=White etc. The 'cterm*' settings are for colour terminal, the 'gui*' settings are for GUI. You can see all colour groups by using ':runtime syntax/hitest.vim', or in GUI Vim use the menu selection Syntax -> Highlight Test. regards, Peter Send instant messages to your online friends http://au.messenger.yahoo.com
RE: completion menu colors
> Is there a way to change the completion menu colors? See: :help hl-Pmenu :help hl-PmenuSel :help hl-Pmenu-Sbar :help hl-PmenuThumb For example: :highlight Pmenu guibg=DarkRed cheers
completion menu colors
Hi all, Is there a way to change the completion menu colors? -fREW