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.

It seems that the VIM color scheme is conflict with Mac Terminal's setting.

I want to change the highlight search color. And it's OK by setting in VIM ESC mode. (:hi search ctermbg=4)

However, it's not work to set in .vimrc.

share|improve this question
    
Are you setting hl Search ctermbg=4 after setting colorscheme in .vimrc? –  jamapag Jul 7 '11 at 14:59
add comment

migrated from stackoverflow.com Jul 5 '11 at 19:32

This question came from our site for professional and enthusiast programmers.

2 Answers

You have to edit your color scheme directly.

If it's one you downloaded from www.vim.org it is probably located in ~/.vim/colors, if it's one of the default color schemes it can be located in many places depending on wether you use the Apple-provided vim or another one you installed yourself. You can type :set rtp? to see where to find the colorscheme you are using.

share|improve this answer
add comment

if its one downloaded by you and it doesn't work try moving it to ~/.vim-x/colors.

For some reason Mac sometimes reads that instead of ~/.vim

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.