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



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



Relevant Pages

  • Re: Local Scripting
    ... Your syntax is correct. ... You might be interested in some sample scripts I ... you can map resources with a username other than your XP ... > automatically map some network drives. ...
    (microsoft.public.windowsxp.basics)
  • Re: Need help on reading line from file into list
    ... That bit of syntax is completely, utterly, 100%, identical to ... the readlines() method of that file object is then called. ... passed as the second parameter to the map() function. ...
    (comp.lang.python)
  • Re: FSet/CL 1.0 released!
    ... The former example shows that 'map' is a macro with its own evaluation ... both macros with syntax, but the syntax of `map' is more complex (and ... other constructor macros too, ...
    (comp.lang.lisp)
  • Re: Passing Passwords Between Pages
    ... I have only used Submit in conjunction with Method Post. ... fiqure out the syntax for bringing up the right map. ... >> PageA the student enters his Password ...
    (microsoft.public.scripting.vbscript)
  • Mapping printer via login script
    ... I have been trying to map a printer within the SBS login script and I can't ... I am using the syntax: ... Prev by Date: ...
    (microsoft.public.windows.server.sbs)