Re:Bram Moolenaar Passed Away
by PartiallyTyped on Saturday August 05, 2023 @11:58AM
(#37013292)
Do people really not know :x == :wq ???
[ Parent
| on HN ]
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
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