[Wolves] Editors
Baza
baza at themauvezone.fsnet.co.uk
Mon May 16 18:51:46 BST 2005
On 16 May 2005, at 12:39, David Morgan wrote:
> On 12:25 Mon 16 May , Tom Mortimer-Jones wrote:
>
>>> I've never understood this - why does everyone, and I mean everyone
>>> (including me) always use :wq to save/close vi when :x does the
>>> exact
>>> same thing?
>>>
>>
>> I use 'ZZ' which I think is easier than :wq or :x.
>>
>> Tom.
>>
>>
>
> ZZ is the same as :x, but neither of these are the same as :wq.
> iirc the
> difference is that :wq always writes to the file, where as :x/ZZ only
> write to the file if changes have been made. However, :x + hidden
> buffers is likely to lead to you exiting without saving something (I
> think - there's definitely something that can go wrong when using :x,
> and I'm fairly sure that that's it).
>
> Dave
>
Am I a woos, but I like pico as my editor?
Baza
-------------------------
http://walkertopia.com
More information about the Wolves
mailing list