Register a domain and help support LQ
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, 04:48 AM   #1
Senior Member
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,019

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, 05:19 AM   #2
Senior Member
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Jessie (Fluxbox WM)
Posts: 1,380
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 05: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 09:19 AM
gvim or vim? Abomb Programming 28 12-15-2006 12:27 AM
prompt within gvim/vim/vi zchoyt Linux - Software 6 02-02-2005 07:30 AM
vim or gvim raees Linux - General 7 03-17-2004 06:02 PM
vim / gvim Shak Linux - Software 4 04-03-2003 10:25 AM

All times are GMT -5. The time now is 10:28 PM.

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