Re: VI and .html files?
Adam Scriven said:
> I've been using VI for 8 years now, but this is the first time I've ever
> seen it have this little problem. I try and VI a .html file, and I get
> what looks to be a lynx-style WYSIWYG editor. It doesn't show me the
> source code, it actually shows me the HTML page formatted.
>
> Does anyone know why this is, and how I can fix it?
Have you, perhaps, installed the elvis package recently?
Anyhow, I don't know how to make it stop opening HTML files in that mode
initially, but you can hit ^Wd to switch between source and lynxish modes.
--
"Two words: Windows survives." - Craig Mundie, Microsoft senior strategist
"So does syphillis. Good thing we have penicillin." - Matthew Alton
Geek Code 3.1: GCS d- s+: a- C++ UL++$ P+>+++ L+++>++++ E- W--(++) N+ o+
!K w---$ O M- V? PS+ PE Y+ PGP t 5++ X+ R++ tv b+ DI++++ D G e* h+ r++ y+
Reply to: