Hacker News new | ask | show | jobs
by beaumartinez 4367 days ago
:x

(It's the same as :wq, but one character shorter.)

2 comments

Even shorter:

    ZZ
"Shift z z" is one key shorter than "shift colon x enter"
Colon? That sounds painful, map it to some single keystroke. I use back slash on my tiny cherry keyboard.

    noremap \ :
Isn't backslash the default <leader> keystroke?
yep, have leader mapped to space ;-)
No it is not the same. x only writes if not already written.