DEV Community

Kapil Gorve
Kapil Gorve

Posted on • Originally published at jskap.com on

How to exit Vim

  1. Press esc key.
  2. Type, :q, press return.
  3. Type, :wq, press return (If you wanna save)OR
  4. 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)

Collapse
 
shiftyp profile image
Ryan Kahn (he/him)

This is great! I'll add:

  1. Type, :x, press return is equivalent to :wq