News for hackers. Stuff that matters.
Re:Tell HN: Vim users, `:x` is like `:wq` but writes only wh... by renewiltord on Saturday January 07, 2023 @01:48PM (#34291210)
It's funny but I use q when I don't intend to change things and wq in whatever state I'm seeing them and x when I'm working on clean git state.

Honestly it sounds complex, but I don't even think about it and it only struck me reading your comment.

The warning note on q is desirable.

There are no comments on this comment yet.