Find the answer to your Linux question:
Results 1 to 4 of 4
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 ...
  1. #1
    Just Joined! soccercisco's Avatar
    Join Date
    Dec 2006
    Location
    So. Cal
    Posts
    98

    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,

  2. #2
    Linux Newbie lugoteehalt's Avatar
    Join Date
    Jan 2004
    Posts
    231
    Might try installing gvim and then fiddling with its menus. Don't know if it'll work, but might do.
    All power is violence; all power is evil.
    Money As Debt

  3. #3
    Just Joined! soccercisco's Avatar
    Join Date
    Dec 2006
    Location
    So. Cal
    Posts
    98
    Ok, thanks. I was just trying to do it via good'ol regular 'vim', however, it has been pointed out to me that this is not possible, since vi/vim has no control over the terminal emulator.

  4. #4
    Just Joined! soccercisco's Avatar
    Join Date
    Dec 2006
    Location
    So. Cal
    Posts
    98
    Found it:

    In your ~/.vimrc add the line:

    Code:
    highlight Normal ctermbg=Black ctermfg=White
    Cheers.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...