Cancel split window in Vim

前端 未结 10 1170
小鲜肉
小鲜肉 2021-01-29 18:07

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 wa

10条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-29 18:20

    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.

提交回复
热议问题