Michael L Torrie wrote:
Jonathan Duncan wrote:
Feel free to share here as well. I am always eager to enhance my vimrc-foo also.

Here's what I did.  I'm thinking there is still a safer way to do it:

In my vimrc file:

if has("gui_running")
        colorscheme desert

any reason you don't just put that in ~/.gvimrc?

else
        set bg=dark
        if &term == "xterm"
                set t_Co=256
                colorscheme desert256
        endif

Yes, that's not very "safe", but if it works go with it. It's not like it's going to explode or let hackers into your system if your xterm decides to go back to the 80s.

endif


--
Hans Fugal ; http://hans.fugal.net

There's nothing remarkable about it. All one has to do is hit the
right keys at the right time and the instrument plays itself.
    -- Johann Sebastian Bach

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to