LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   vi background in gnome-terminal (https://www.linuxquestions.org/questions/linux-newbie-8/vi-background-in-gnome-terminal-589791/)

soccercisco 10-05-2007 08:00 PM

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,

AceofSpades19 10-05-2007 08:07 PM

no it is not possible, vim can't control the terminal emulator

soccercisco 10-06-2007 08:51 AM

That's what I thought, thanks!

soccercisco 10-06-2007 12:15 PM

Actually *IT IS* possible (with enough patience for browsing):

In your ~/.vimrc add the line:

Code:

highlight Normal ctermbg=Black ctermfg=White
Voila!

Cheers.


All times are GMT -5. The time now is 06:28 AM.