Jorgelino@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agoVery clever...lemmy.mlimagemessage-square281fedilinkarrow-up12.28Kfile-text
arrow-up12.28KimageVery clever...lemmy.mlJorgelino@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square281fedilinkfile-text
minus-squarepsud@aussie.zonelinkfedilinkarrow-up89·1 year agoIf anyone needs the command: :q! If you want the computer to ask if you’re sure: :q If you want to save: :wq
minus-squarePoolloverNathan@programming.devlinkfedilinkEnglisharrow-up21·1 year ago:wq will write even if you didn’t change anything; :x won’t. (similar to :w vs :up)
minus-squareboatswain@infosec.publinkfedilinkarrow-up4·1 year agoI prefer ZZ if I want to quit and save
If anyone needs the command: :q!
If you want the computer to ask if you’re sure: :q
If you want to save: :wq
Or :x
:wq
will write even if you didn’t change anything;:x
won’t. (similar to:w
vs:up
)I prefer
ZZ
if I want to quit and saveZQ
and ZZ for save & quit
:cq
because why not :)