Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Its one of the things about exiting Vim. If you type :q, and there are unsaved changes it will prompt you to save it first and not let you quit.

So most people do :wq so that it saves and then quit or do :q! to quit without saving changes. Most people stop using :q.



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

Search: