Cancel split window in Vim

Sudeep picture Sudeep · Jan 26, 2011 · Viewed 113.1k times · Source

I have split my windows horizontally. Now how can I return to normal mode, i.e. no split window just one window without cancelling all of my open windows. I have 5 and do not want to "quit", just want to get out of split window.

Answer

Warren  P picture Warren P · Jan 26, 2011

Press Control+w, then hit q to close each window at a time.

Update: Also consider eckes answer which may be more useful to you, involving :on (read below) if you don't want to do it one window at a time.