Hi, On Sun, Jan 18, 2015 at 3:45 AM, Bruno Sutic <[email protected]> wrote: > Hi group! > I'm working on a small "grep for manpages" plugin. Ideally, it whould mimic > how vim's `helpgrep` functionality works. > > Here's the helpgrep quick highlight to describe the wanted feature: > - a user enters `helpgrep some_pattern` in vim's command line. Vim performs > search and populates quickfixlist > - it get's interesting here: when an item from this list is selected, vim > does a window split to show content (window split is usually *not* done when > opening QF item) > - whenever an item from *this* QF list is chosen, it is opened in *the same* > `help` window > - it seems you can't have 2 or more windows displaying "content" from this > QFlist > > These QFlist features seem specific to helpgrep: > - doing a window split when opening first QFlist item > - always opening QFlist entries in the same window > - only 1 window for this QF list allowed > > How can I get the same behavior for my plugin? > Are there some plugins out there that already have this implemented so I can > look into them? >
Yes. There are many Vim plugins that implement this behavior. For example, take a look at the MRU plugin. https://github.com/yegappan/mru - Yegappan > > Any hint appreciated! > > Thanks for the help > -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
