Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-26-2010, 03:48 AM   #1
Senior Member
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,031

Rep: Reputation: 63
How to get gvim color in vim?

For gvim
:hi Include guifg=#8040f0

Is it possible to get #8040f0 in vim?
Old 03-26-2010, 04:19 AM   #2
Senior Member
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Jessie (Fluxbox WM)
Posts: 1,388
Blog Entries: 52

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Because vim is using the ANSI terminal to set the colors, you are restricted to that color set, for example:
:hi Normal ctermfg=blue
Sometimes you can use a 256 color terminal depending on your distro, eg:
vim -T xterm-256color
:hi Normal ctermfg=252

Last edited by neonsignal; 03-26-2010 at 04:40 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vi/Vim/gVim vs Kate Diego Torquemada Linux - Newbie 7 04-01-2009 08:19 AM
gvim or vim? Abomb Programming 28 12-14-2006 11:27 PM
prompt within gvim/vim/vi zchoyt Linux - Software 6 02-02-2005 06:30 AM
vim or gvim raees Linux - General 7 03-17-2004 05:02 PM
vim / gvim Shak Linux - Software 4 04-03-2003 09:25 AM

All times are GMT -5. The time now is 03:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration