News for hackers. Stuff that matters.
Re:Tell HN: Vim users, `:x` is like `:wq` but writes only wh... by julesnp on Saturday January 07, 2023 @02:09PM (#34291475)
I use the 'confirm' option in my vim config, that way I can always use :q and then get a prompt on what to do if a file's been changed.

I also map <C-q> to :q to speed things up a bit.

There are no comments on this comment yet.