Loading ...
Sorry, an error occurred while loading the content.

Re: autocmd for new help window creation

Expand Messages
  • Andy Wokula
    ... You can check for &buftype== help . -- Andy --~--~---------~--~----~------------~-------~--~----~ You received this message from the vim_use maillist.
    Message 1 of 3 , Oct 31, 2007
    • 0 Attachment
      ptspts@... schrieb:
      > Hi,
      > Is it possible to set up an autocmd which is run when a new help
      > window is created (or, better: about to be created)? I tried WinEnter
      > and BufNew, but I couldn't determine whether it was a help window or
      > not.
      > Thanks,
      > pts

      You can check for &buftype=="help".


      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
    Your message has been successfully submitted and would be delivered to recipients shortly.