3

I want to simply browse the VIM user-manual, but the only way I get access is by opening a session of vim and the typing: help user-manual. The problem with this is that this ends up creating a screen split which is not comfortable for reading, especially when I don't even need the empty file below.

I know that Ctrl+W will fix this issue, but I'm running Linux from my Chromebook and Chrome overrides the Ctrl+W shortcut (close current tab).

So would there be a way I can open up the user-manual by itself? And if not, could anyone suggest a clever hack?

One thing I did try to do was create a copy of the manual and open that up in vim, but this didn't allow any of the links to function.

  • Just noticed in "Related" that this Q is asked and answered here – bsd Jan 19 '16 at 10:26
  • Got it. I'll make sure to look around some more before asking again. – user61593 Jan 20 '16 at 4:21
5

The vim command line switch -c will execute vim commands.
You can pass multiple commands and passing the two following commands will start help, in only one window

vim -c help -c only

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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