LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-05-2007, 08:00 PM   #1
soccercisco
Member
 
Registered: Dec 2006
Location: Fullerton, CA
Distribution: Debian
Posts: 36

Rep: Reputation: 15
vi background in gnome-terminal


Hi Folks,

I have never been able to figure this one out, so here it is:

I have set the background of the gnome-terminal to be transparent (30%). When I open vim editor in the gnome-terminal, I have the same transparent background regardless of my .vimrc file. How can I have a background for the gnome-terminal that is transparent (which I already have), but while vim is open have it with a black background? Is this possible?

Thanks,
 
Old 10-05-2007, 08:07 PM   #2
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 57
no it is not possible, vim can't control the terminal emulator
 
Old 10-06-2007, 08:51 AM   #3
soccercisco
Member
 
Registered: Dec 2006
Location: Fullerton, CA
Distribution: Debian
Posts: 36

Original Poster
Rep: Reputation: 15
That's what I thought, thanks!
 
Old 10-06-2007, 12:15 PM   #4
soccercisco
Member
 
Registered: Dec 2006
Location: Fullerton, CA
Distribution: Debian
Posts: 36

Original Poster
Rep: Reputation: 15
Actually *IT IS* possible (with enough patience for browsing):

In your ~/.vimrc add the line:

Code:
highlight Normal ctermbg=Black ctermfg=White
Voila!

Cheers.
 
  


Reply


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
Terminal in background? Oxagast Linux - Software 5 12-08-2005 09:52 PM
terminal on background Ha1f Linux - General 2 11-07-2005 07:27 AM
In KDE, aterm uses GNOME background rather than KDE background for transparent backgr cpbl Linux - Software 4 01-01-2005 10:26 PM
Transparent terminal in background Maverick1182 Linux - Newbie 14 08-29-2004 09:08 AM
Using the konsole terminal as the background eire Linux - Software 1 08-01-2004 05:58 PM


All times are GMT -5. The time now is 09:49 PM.

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