- Press
esckey. - Type,
:q, press return. - Type,
:wq, press return (If you wanna save)OR - Type,
:q!, press return (If you don't wanna save)
This post was originally published at https://www.jskap.com/notes/how-to-exit-vim/
👋 Hi! I’m Kapil. I am always chatty about building things, sharing my learnings, freelancing. Come say hi to me at https://twitter.com/kapilgorve
Top comments (1)
This is great! I'll add:
:x, press return is equivalent to:wq