vi as a html editor (was: Re: [ILUG] Active Desktop (ish))
waider at waider.ie
Sun Mar 31 22:51:21 IST 2002
On March 31, murtaghn at tcd.ie said:
> On Sunday 31 March 2002 16:07, kevin lyda wrote:
> > plus editing a desktop would be as simple as firing up an html editor
> > (like vi for instance... :) ).
> I like vi. But it's html "magic" drives me crazy. It seems to want to
> indent everything left, right and centre. How do I make it stop?
> Even after "set ts=2" it insists on indenting by 8 spaces for html tags.
> Completely useless.
> "set noautoindent" doesn't slow it down either.
Depends on your vi variant; elvis on debian seems to be particularly
rabid about invading your private notions of how vi should work. I use
"set normal" to turn off pretty much everything. At least, I think
that's what I use. I have only one debian box to contend with, and I
recently stuck emacs on it to avoid having to deal with either elvis
or nvi (the latter doesn't seem to know about the cursor keys and
insists on only responding to hjkl).
And I'm too lazy to take my own advice and RTFM on an editor that
should work the same way as it did ten years ago, dammit.
waider at waider.ie / Yes, it /is/ very personal of me.
"They posted while drunk, their souls are forfeit."
- Bren, in the dspsrv orientation guide.
More information about the ILUG