Mailinglist Archive: opensuse (4288 mails)

< Previous Next >
Re: [opensuse] Turn off colors in vi or vim
  • From: Aaron Kulkis <akulkis00@xxxxxxxxxx>
  • Date: Wed, 31 Oct 2007 13:15:59 -0400
  • Message-id: <4728B84F.80503@xxxxxxxxxx>
Bryen wrote:
On Tue, 2007-10-30 at 22:01 -0700, joe wrote:
Bryen wrote:
On Tue, 2007-10-30 at 21:01 -0700, joe wrote:
Bryen wrote:
How can I turn off colors in vi (actually vim) permanently?
rpm -e vim-data


Okay, I gotta ask. Cristian's solution earlier created an empty .vimrc
file with "syntax off" in it and it works perfectly. Best of all, it is
a non-destructive solution.

Your solution (which may also work) is to remove a package. Just what
functionality would I have lost if I had gone your route?
You'd lose the colors. In all other respects vim would work perfectly, and
that's how I like it. I really don't appreciate trying to make out dark blue
text on my black xterm, so I always nuke that irritant soon after install.

On a server with many users, I'd naturally lean towards the other solution,
just in case somebody actually wanted those colors.

Joe

Thanks. That makes alot of sense. And I agree, those color schemes are
incredibly annoying. Hmm... so far, I've managed to remove colors from
vim and ls. I haven't come across anything else yet that uses color in
terminal. Since we're a kindred "anti-color" spirit, what else have you
come across and what were your solutions then?


For ls, just change the LS_OPTIONS environment variable
in your .bashrc (or whatever resource file is used
by your shell).


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References