Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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...



(Wild guess) If you pronounce the command aloud - "Zee-zee" - it translates to "Willy" (penis word used by children) in French. Easy mnemonic.


>Zee-zee

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


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


Maybe because of our (I very much include myself) infamous inability to pronounce correctly the sound "th" and making it sound like "z" instead.


Ah yes, zis is it. Fank you.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: