Invoking :help
in Vim, I got the help manual page with split window. I want to maximize the help manual window and close the other window.
How can I do this? What is the Vim command to do this?
You can employ Ctrl+WT (that's a capital T
) to move any open window to its own tab.
As mentioned by others Ctrl+W_ / Ctrl+W| to maximize within the current tab/window layout (while respecting min height/width settings for various other windows).
(Ctrl+W= resizes all windows to equal size, respecting the minimum height/width settings)
Edit To the comment
gvim /tmp/test.cpp
):help various-motions
- opens a split windowmove the help back into the original tab:
mAZZ<C-w>S`A
You can avoid using a mark for normal (non-help) buffers. Let me know if you're interested.