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

If you hit ctrl-c then you are no longer in insert mode (ctrl-c acts like esc for some reason), so no, it won't add anything to the buffer and ":q" will get you out.

I don't blame people for being confused though.. I remember getting stuck in vim all the time back in the day because of a default $EDITOR value.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: