Meino Christian Cramer 
  >> Suresh Govindachar wrote:
  >>  Meino Christian Cramer asked
  >>
  >>> I would like to know, whether it is possible to get a
  >>> fullscreen help  when doing 
  >>> 
  >>>     :h <something>
  >>> 
  >>> or other help-actionis without loosing the buffers already
  >>> loaded so  far ?
  >>   
  >> Don't know how to do precisely what you asked, but once in 
  >> the help window issue either one of the following commands:
  >>     
  >>         press Ctrl and w and then use shift to enter _ 
  >>         :wincmd _
  >>        
  >
  > Thanks for your reply ! :)
  > 
  > Yes, CTRL-w o also works that way. 
  
    Not exactly -- there is a difference between the two:

    Ctrl-W o makes the current buffer the "only buffer"
    Ctrl-W _ maximizes current buffer, minimizes others

  > But that often I am calling "HELP!" :) it is a little annoying
  > to submit this command every time. That's why I am asking for a
  > "global solution" :))

  One way would be to create a BufEnter autocommand that gets
  triggered whenever the help buffer is entered -- putting 
  the following in your vimrc (and restarting vim) should work: 

     augroup HelpMaximizer
     autocmd!
     autocmd BufEnter  *  if( &ft == 'help') | :wincmd _  | endif
     augroup END
         
  --Suresh

 

Reply via email to