|
|
On 16-Dec-08 0:37, Jim Henderson wrote:
> On Mon, 15 Dec 2008 23:27:13 +0100, andrel wrote:
>
>> On 15-Dec-08 23:15, Orchid XP v8 wrote:
>>> Nicolas Alvarez wrote:
>>>> Orchid XP v8 wrote:
>>>>> And then I had to reboot the PC to get out of Vi. :-P
>>>> WTF?
>>> Do *you* know what the keystroke to quit the program is? :-P
>>>
>> q or q! if you made changes. Am I missing something?
>
> technically, :q or :q! - the first will exit and prompt you if you made
> changes, the second will quit and not save your changes. If you want to
> quit and save changes, then :w will write. I prefer shift+ZZ myself, it
> quits and writes changes. :-)
me too. I have been known to type ZZ to exit emacs and a variety of
other editors.
BTW to connect a few treads: Andrew have you ever seen the Turing
machine as implemented in vi? I had it once, it should be somewhere on
the interweb, no doubt, but I can not immediately find it.
Post a reply to this message
|
|