Remembered on the train in ...<br><br>:wq!<br><br>This is bad. Always use :wq if you want to write and quit.<br><br>Why?<br><br>If you perform :wq! on a file on a full file system (e.g. a developer homespace NFS share), your edits will fail to write, then because you've shrieked at vi, it will exit taking all of your edits with it. You have no second chances to write to a different partition ... your magnum opus is lost.<br>
<br>Hands up those here who've done this. (And yes, my hand is up)<br><br><br>Jon<br>