Cancel split window in Vim

前端 未结 10 1324
小鲜肉
小鲜肉 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:14

    The command :hide will hide the currently focused window. I think this is the functionality you are looking for.

    In order to navigate between windows type Ctrl+w followed by a navigation key (h,j,k,l, or arrow keys)

    For more information run :help window and :help hide in vim.

提交回复
热议问题