Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH] nvi to dont open dirs



On Mon, Jan 05, 2009 at 07:35:52PM -0500, Christos Zoulas wrote:
> | And when is it useful to open a directory with vi?
> 
> Until we become linux where read on a directory returns an error, the
> editor should behave the same way as cat.

I have a vile macro that, if an attempt is made to open a directory,
will list the directory, and when an entry is selected, will open that
entry in the editor; I find that intuitive behaviour.

I also don't find myself using them much (vile AND the macro) - some of
us have moved onto higher things, and I certainly don't mean emacs.

Regards,
Alistair


Home | Main Index | Thread Index | Old Index