News for hackers. Stuff that matters.
Re:How to Exit Vim by thrwaway69 on Wednesday January 08, 2020 @02:05AM (#21989036)
pssh.. they didn't mention the vimtectualist way - :q!

or the French way - ZZ

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.
Re:How to Exit Vim by mike_hock on Wednesday January 08, 2020 @03:14AM (#21989410)
> or the French way - ZZ

HOW DID I NOT KNOW THIS

Re:How to Exit Vim by JdeBP on Wednesday January 08, 2020 @10:17AM (#21992122)
People explained that it was [Shift] and [Z], which of course for you would have produced a lowercase 'z'.
Re:How to Exit Vim by mike_hock on Wednesday January 08, 2020 @05:24PM (#21996418)
lol

took me a while to get it

Re:How to Exit Vim by kranner on Wednesday January 08, 2020 @02:42AM (#21989227)
These would ruin the joke.
Re:How to Exit Vim by thrwaway69 on Wednesday January 08, 2020 @03:04AM (#21989356)
yeah, I was poking at the joke :)
Re:How to Exit Vim by justinzollars on Wednesday January 08, 2020 @02:13AM (#21989069)
create a pull request
Re:How to Exit Vim by slim on Wednesday January 08, 2020 @02:33AM (#21989158)
the french way :D