cm0002@piefed.world to Programmer Humor@programming.devEnglish · 22 hours agoExit Signlemmy.mlimagemessage-square63fedilinkarrow-up1803arrow-down19 cross-posted to: programmerhumor@lemmy.ml
arrow-up1794arrow-down1imageExit Signlemmy.mlcm0002@piefed.world to Programmer Humor@programming.devEnglish · 22 hours agomessage-square63fedilink cross-posted to: programmerhumor@lemmy.ml
minus-squareAatube@kbin.melroy.orglinkfedilinkarrow-up18·21 hours agoTo be precise, : means bring up commands, w means save, q means exit, and ! means force
minus-squareHeuristicAlgorithm9@feddit.uklinkfedilinkarrow-up13·21 hours agoI think it’s w = write and q = quit so the letters make more sense
minus-squaredarklamer@lemmy.dbzer0.comlinkfedilinkarrow-up11·18 hours agoNo, it isn’t, x writes only when changes have been made, while w writes unconditionally.
minus-squarejosefo@leminal.spacelinkfedilinkarrow-up1·13 hours agoWhy would you want to write again if no changes were made? It’s some obtuse behavior
minus-squaredarklamer@lemmy.dbzer0.comlinkfedilinkarrow-up4·12 hours agoOne obvious use-case is to cause the file to get a new timestamp, which for example tools like make look at.
minus-squareryper@lemmy.calinkfedilinkEnglisharrow-up3·edit-217 hours agoTo be more precise, q means quit the current window. If you’ve split the window, e.g. with :split or :vsplit, use :qa to quit all windows.
To be precise, : means bring up commands, w means save, q means exit, and ! means force
I think it’s w = write and q = quit so the letters make more sense
Also :x is the same as :wq
No, it isn’t, x writes only when changes have been made, while w writes unconditionally.
Why would you want to write again if no changes were made? It’s some obtuse behavior
One obvious use-case is to cause the file to get a new timestamp, which for example tools like make look at.
TIL. Ty!
To be more precise, q means quit the current window. If you’ve split the window, e.g. with :split or :vsplit, use :qa to quit all windows.