Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8412281
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:38:08+00:00 2026-06-10T00:38:08+00:00

How can I change the syntax highlighting in vim for C/C++/PHP in particular? Can

  • 0

How can I change the syntax highlighting in vim for C/C++/PHP in particular?
Can I also change the background color so it won’t be the same as the shell’s?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T00:38:09+00:00Added an answer on June 10, 2026 at 12:38 am

    Before you start installing various plugins, check out pre-installed color schemes that ships with your Vim. In my case I have many of them:

    # rpm -ql vim vim-common | grep color
    /usr/share/vim/vim72/colors
    /usr/share/vim/vim72/colors/README.txt
    /usr/share/vim/vim72/colors/blue.vim
    /usr/share/vim/vim72/colors/darkblue.vim
    /usr/share/vim/vim72/colors/default.vim
    /usr/share/vim/vim72/colors/delek.vim
    /usr/share/vim/vim72/colors/desert.vim
    /usr/share/vim/vim72/colors/elflord.vim
    /usr/share/vim/vim72/colors/evening.vim
    /usr/share/vim/vim72/colors/koehler.vim
    /usr/share/vim/vim72/colors/morning.vim
    /usr/share/vim/vim72/colors/murphy.vim
    /usr/share/vim/vim72/colors/pablo.vim
    /usr/share/vim/vim72/colors/peachpuff.vim
    /usr/share/vim/vim72/colors/ron.vim
    /usr/share/vim/vim72/colors/shine.vim
    /usr/share/vim/vim72/colors/slate.vim
    /usr/share/vim/vim72/colors/torte.vim
    /usr/share/vim/vim72/colors/zellner.vim
    /usr/share/vim/vim72/ftplugin/dircolors.vim
    /usr/share/vim/vim72/syntax/colortest.vim
    /usr/share/vim/vim72/syntax/dircolors.vim
    /usr/share/vim/vim72/syntax/syncolor.vim
    /usr/share/vim/vimfiles/after/colors
    /usr/share/vim/vimfiles/colors
    

    To change it just use this:

    colorscheme darkblue
    

    Also you can download color schemes and just drop them into your VIMRC subdirectory “colors” and load them the same way. I like this one for example: http://ethanschoonover.com/solarized

    And of course, you can modify those color schemes. Just copy the “default.vim” (or the one you like) to your VIMRC/colors and edit it to change colors you want.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How I can change the individual region background color of viewport extjs 4. Here
Is there any way to change the syntax highlighting of one particular file in
I can change SQL at runtime. Can I do the same with LINQ ?
How i can change the color with gradient??? I have this now,but is different
I was trying to make the syntax highlighting (with 256 colors) of vim work
Are there any existing languages where the programmer can change the language's syntax at
Is there a way to edit my color options for syntax highlighting in structured
In PHP how can I change the query string delimiter from ? to #
I can change the irb prompt mode with irb --prompt prompt-mode I can see
Where I can change compiler options for C# project in VisualStudio 2008 (without command

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.