News for hackers. Stuff that matters.
Re:How to Exit Vim by jraph on Wednesday January 08, 2020 @02:42AM (#21989232)
As a vim noob, I needed to look it up [0]. ZZ saves the current file if modified and closes it. ZQ closes it without saving. Thank you, that will save me a few seconds per year.

Why the French way? I don't get it and I am very curious :-)

[0] https://unix.stackexchange.com/questions/93144/exit-vim-more...

Re:How to Exit Vim by throwaway744678 on Wednesday January 08, 2020 @04:09AM (#21989731)
(Wild guess) If you pronounce the command aloud - "Zee-zee" - it translates to "Willy" (penis word used by children) in French. Easy mnemonic.
Re:How to Exit Vim by toby- on Wednesday January 08, 2020 @07:22AM (#21990735)
>Zee-zee

Only if you're American. Otherwise: "zed-zed". :)

Re:How to Exit Vim by Arrrlex on Wednesday January 08, 2020 @03:16AM (#21989421)
I'd have thought it's because the French keyboard layout is arranged with the "Z" in place of the "W" on a qwerty layout
Re:How to Exit Vim by lgeorget on Wednesday January 08, 2020 @02:47AM (#21989263)
Maybe because of our (I very much include myself) infamous inability to pronounce correctly the sound "th" and making it sound like "z" instead.
Re:How to Exit Vim by jraph on Wednesday January 08, 2020 @02:55AM (#21989307)
Ah yes, zis is it. Fank you.