Re: [opensuse] Turn off colors in vi or vim




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?

--
---Bryen---

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



Relevant Pages

  • Re: [opensuse] Turn off colors in vi or vim
    ... Okay, I gotta ask. ... Cristian's solution earlier created an empty .vimrc ... file with "syntax off" in it and it works perfectly. ...
    (SuSE)
  • Re: [opensuse] Turn off colors in vi or vim
    ... Cristian's solution earlier created an empty .vimrc ... file with "syntax off" in it and it works perfectly. ... vim and ls. ...
    (SuSE)
  • Re: vim feels impossible to use right now
    ... These don't seem like the normal directories I've been hearing about. ... Also, there is no .vimrc in my home directory, but there is vimrc in my /usr/share/vim directory, and that had the line ... and I also uncommented the line that said "syntax on", but none of that seemed to do anything. ... while within vim, ...
    (comp.editors)
  • Re: [opensuse] Turn off colors in vi or vim
    ... Okay, I gotta ask. ... Cristian's solution earlier created an empty .vimrc ... file with "syntax off" in it and it works perfectly. ...
    (SuSE)
  • Re: vim feels impossible to use right now
    ... just go up to the toolbar and select syntax and turn it on if you are ... I think you need to uninstall vim and reinstall, but I have no clue how ... I don't know if syntax highlighting and smart indenting involve the .vimrc file either, ... If there's a particular colorscheme you want to use, just add a "colorscheme" command to your .vimrc. ...
    (comp.editors)