On 2010-09-10, Lenin Lee wrote:
> Hi there,
> 
> Why the following configuration doesn't work ?
> 
> au BufEnter help <C-W>_
> 
> How to maximize help window automatically when I open or enter it ?

The autocommand command is an ex command whereas the key sequence
<C-W>_ is a normal-mode command.  To make that work, you would have
to write it as

    au BufEnter help "exe normal \\<C-W>_"

A better solution, though, would be the following.

    au FileType help wincmd _

Regards,
Gary

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to