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

Re: scripted :isearch?

Expand Messages
  • Gerald Lai
    ... It would be cool to show the [I output in a balloon. A first attempt: fun! Test() redir = output silent! exe ilist! / .v:beval_text. / redir END
    Message 1 of 4 , May 4, 2006
    • 0 Attachment
      On Thu, 4 May 2006, Neil Bird wrote:

      > Around about 04/05/06 10:07, Yakov Lerner typed ...
      >> Do you mean function a-la :ilist that returns list of matches instead of
      >> printing them on the screen ?
      >
      > Actually, I finally sussed how ballooneval works and I thought that it
      > might be cool to show the '[i' output there.

      It would be cool to show the "[I" output in a balloon. A first attempt:

      fun! Test()
      redir => output
      silent! exe "ilist! /".v:beval_text."/"
      redir END
      return output
      endf

      :set ballooneval balloonexpr=Test()

      --
      Gerald
    Your message has been successfully submitted and would be delivered to recipients shortly.