News for hackers. Stuff that matters.
Re:Bram Moolenaar Passed Away by aestetix on Saturday August 05, 2023 @08:51AM (#37011528)
This absolutely deserves a black bar.<ESC>:wq
Re:Bram Moolenaar Passed Away by PartiallyTyped on Saturday August 05, 2023 @09:22AM (#37011765)
:x
Re:Bram Moolenaar Passed Away by PartiallyTyped on Saturday August 05, 2023 @11:58AM (#37013292)
Do people really not know :x == :wq ???
Re:Bram Moolenaar Passed Away by upon_drumhead on Saturday August 05, 2023 @12:21PM (#37013566)
TIL
Re:Bram Moolenaar Passed Away by hashtag-til on Saturday August 05, 2023 @02:48PM (#37015167)
Hi
Re:Bram Moolenaar Passed Away by lucky_cloud on Saturday August 05, 2023 @01:07PM (#37014125)
They're not equivalent.

:w will touch the file (update mtime) whether you've made changes or not

:x will only update mtime if the file contents are actually changed

Re:Bram Moolenaar Passed Away by myth2018 on Saturday August 05, 2023 @02:03PM (#37014755)
They are similar, but I stick to :wq. I fear mixing up :x with :X. Would probably catch the mistake when being asked to type the encryption key, but anyway
Re:Bram Moolenaar Passed Away by pxc on Saturday August 05, 2023 @02:40PM (#37015105)
* * *