by lunchladydoris · 5y ago · 0 comments
> Like “:wq”, but write only when changes have been made.
https://til.hashrocket.com/posts/2fdb6afb66-difference-betwe...
If you're annoyed by typoing stuff, like I'm annoyed by typing :Wq or :WQ, you can just alias it of course. Since you (and, presumably, nobody) ever use(s) vim encryption it doesn't matter to override it.
vimrc:
command Wq wq
command WQ wq
command W w
command Q q