They just said :wq in school, so thanks for the tip. Hard to believe it saves even when the file hasn’t been changed if you use :wq. What is the use case for that? If the file gets changed in another program and you want to revert??
Edit: Just saw the comment about the modification times being updated.
deleted by creator
They just said
:wqin school, so thanks for the tip. Hard to believe it saves even when the file hasn’t been changed if you use:wq. What is the use case for that? If the file gets changed in another program and you want to revert?? Edit: Just saw the comment about the modification times being updated.But what if you wanted to write even if there weren’t changes?
deleted by creator
Then you use
:wq:x? Real Programmers useZZ.habit lol. i use :w a lot so :wq feels like a natural extension
deleted by creator