GravitySpoiled@lemmy.mldeleted by creator to linuxmemes@lemmy.world · 3 years agoHow do I exit vim?lemmy.mlimagemessage-square52linkfedilinkarrow-up1402arrow-down156
arrow-up1346arrow-down1imageHow do I exit vim?lemmy.mlGravitySpoiled@lemmy.mldeleted by creator to linuxmemes@lemmy.world · 3 years agomessage-square52linkfedilink
minus-squareThe Stoned Hacker@lemmy.worldlinkfedilinkarrow-up3arrow-down1·3 years ago:x will save and exit. The difference between :x and :wq is that the latter will always write to the buffer, while the former will only do so if theres a change.
minus-squareu/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.orglinkfedilinkEnglisharrow-up2·3 years agoSup. And ZZ is like :x, write only if change was made.
:xwill save and exit. The difference between:xand:wqis that the latter will always write to the buffer, while the former will only do so if theres a change.Sup. And
ZZis like:x, write only if change was made.