Mailinglist Archive: opensuse (2747 mails)

< Previous Next >
Re: [opensuse] Turn off colors in vi or vim
  • From: Aaron Kulkis <akulkis00@xxxxxxxxxx>
  • Date: Wed, 31 Oct 2007 13:42:32 -0400
  • Message-id: <4728BE88.5030701@xxxxxxxxxx>
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.

Close.
Cristan's solution opened a .vimrc file for appending
(creating the file if it doesn't exist) and then
APPENDED "syntax off" to the end of .vimrc.

There's a difference (IMPORTANT!) between > and >>


Your solution (which may also work) is to remove a package. Just what
functionality would I have lost if I had gone your route?

Yes, Cristan's solution is superior to uninstalling
packages which someone else on a system might want
to use (it's not a good idea to assume that all
participants are only working on Linux machines
that nobody else uses).



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

< Previous Next >