Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

To get the vim user-manual I am doing

vi test

and then, once the file is opened, I do

:help user-manual

This opens up a split window, which makes reading manual inconvenient to read. How do I only open the user-manual in the full window ?

share|improve this question
add comment

2 Answers

up vote 11 down vote accepted
:h user-manual | only


only : Make the current window the only one on the screen. All other windows are closed.

See: :h only


Open from terminal:

vi[m] -c 'h user-manual|only'
share|improve this answer
add comment

After opening the user manual, type :only to close all other windows.

Or, you can just read the manual online at VimDoc.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.