How to temporarily exit Vim and go back

Viewed 172536

How could I exit Vim, not :q, and then go back to continue editing?

11 Answers

If you don't mind using your mouse a little bit:

  • Start your terminal,
  • select a file,
  • select Open Tab.

This creates a new tab on the terminal which you can run Vim on. Now use your mouse to shift to/from the terminal. I prefer this instead of always having to type (:shell and exit).

:q to quit vim :!q if made a change then quit :wq to save and quit

Related