News for hackers. Stuff that matters.
Re:Tell HN: Vim users, `:x` is like `:wq` but writes only wh... by MayeulC on Saturday January 07, 2023 @03:48PM (#34292617)
Only for Emacs users. Vim users generally replace it with Escape.
Re:Tell HN: Vim users, `:x` is like `:wq` but writes only wh... by bombela on Saturday January 07, 2023 @04:24PM (#34292993)
Except that vim was designed on a keyboard with the Ctrl key at the place of your current capslock (for most keyboards, Japanese still have Ctrl at the "right" plac).
Re:Tell HN: Vim users, `:x` is like `:wq` but writes only wh... by vasac on Sunday January 08, 2023 @08:01AM (#34298753)
Why not both ;) - ESC when tapped, CTRL as a modifier key when pressed together with some other key.
Re:Tell HN: Vim users, `:x` is like `:wq` but writes only wh... by MayeulC on Monday January 09, 2023 @12:09PM (#34312683)
Good idea! Though aborting a Ctrl-C could close a dialog window :/
Re:Tell HN: Vim users, `:x` is like `:wq` but writes only wh... by pxx on Sunday January 08, 2023 @12:07PM (#34300835)
I'm a vim user and replace it with Ctrl. It's much more useful and you can use ^[ to get Escape.