Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

The left-hand-side picture is in Gvim, while the right-hand-side one is in Vim.

alt text

Both Gvim and Vim uses the same files.

How can you make \item red in Vim?

share|improve this question
    
Thank you! - The problem was in colorschemes. –  Masi Jul 28 '09 at 15:16
add comment

2 Answers 2

up vote 2 down vote accepted

Are you using the same colorscheme in both vim and gvim?

If you set the colorscheme to the same they should look closer (provided the terminal supports the colours in the colorscheme). If they don't, you can change the colorscheme by editing $VIMRUNTIME/colors/nameOfColorschemeFile, or creating your own in your vim home directory.

You can set the colorscheme in vim/gvim with

:colorscheme nameOfColorscheme
share|improve this answer
add comment

This may be happening because your terminal program only supports 16 colors, while gvim supports many colors. Also, sometimes a colorscheme is designed only for gvim (or vice-versa). Best bet is to either change the theme yourself, or find another theme that has better support for both the gui and the terminal version.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.