Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
100 vim commands every programmer should know (catswhocode.com)
7 points by touchcream on Dec 19, 2011 | hide | past | favorite | 3 comments


Now, I'm hardly a vim expert, but isn't :w! force write? I believe :q! is exit without saving.


Indeed. Quite amazingly someone told the author in a comment only 2 years after the post was published in 2008 of this error.

Too bad the author didn't bother to correct this fatal flaw.


:w! is the command you execute to confirm that you don't have write privileges on the file you're editing.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: