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 6788393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T17:28:50+00:00 2026-05-26T17:28:50+00:00

I use vim on webfaction through putty and would like to change the colours

  • 0

I use vim on webfaction through putty and would like to change the colours used in the syntax highlighting. I have installed some example themes and then tried to change the colors in those themes to match the ones I want. For some reason this strategy does not work. What am I doing wrong? Is it because I’m using putty, or is it something weird with webfaction’s linux or vim? Or is my logic just wrong?

I created /home/user/.vim/color/theme.vim
I then load the them by adding colorscheme theme to my /home/user/.vimrc

Aside from my color changes not working on obvious parts like

hi Normal      guifg=#ffffff guibg=#000000 gui=none

it also does not seem to implement all the theme changes when I just use the theme without changing it. Is there something better than putty I can use?

  • 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-05-26T17:28:51+00:00Added an answer on May 26, 2026 at 5:28 pm

    In terminal mode, the ctermbg and ctermfg keys are used instead of guibg and guifg. It uses Xterm colors. See for example this table for a rough mapping, and even a VIM script that shows a color table.

    So you would need to change your line to:

    hi Normal ctermfg=15 ctermbg=0 guifg=#ffffff guibg=#000000 gui=none
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use vim as my editor but I would like to get some of
I would like to use Vim to match a regular expression and perform a
I use Vim 7.3 on FreeBSD. I connect to this machine through Putty. When
I started playing with Haskell and I use Vim. I have autoindent on in
:vimgrep looks like a really useful thing. Here's how to use it: :vim[grep][!] /{pattern}/[g][j]
I use Vim's spell checking to validate texts in Russian. We have letter ё
As I use vim, it tries to be helpful by highlighting groups of four
I usually use Vim, and its great for the ability to do faster some
I was an Eclipse user, now I have to use Vim in my machine.
I use vim. Specifically I am using Janus . I have expandtab set. However,

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.