Re: [opensuse] Turn off colors in vi or vim
- From: Randall R Schulz <rschulz@xxxxxxxxx>
- Date: Wed, 31 Oct 2007 07:41:22 -0700
On Tuesday 30 October 2007 18:16, Bryen wrote:
How can I turn off colors in vi (actually vim) permanently?
In keeping with my theme of answering questions not asked, I'll show you
what I do: I add these to my .vimrc file:
map ^[c :syntax on^M
map ^[w :syntax off^M
That way I can turn syntax hilighting on and off with ALT+C and ALT+W.
---Bryen---
Randall Schulz
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- References:
- [opensuse] Turn off colors in vi or vim
- From: Bryen
- [opensuse] Turn off colors in vi or vim
- Prev by Date: Re: [opensuse] Wifi Install Problem
- Next by Date: Re: [opensuse] Turn off colors in vi or vim
- Previous by thread: Re: [opensuse] Turn off colors in vi or vim
- Next by thread: [opensuse] WARNING - ATI fglrx driver module & New 2.6.23 kernel
- Index(es):
Relevant Pages
|