Hi Ben! On Di, 07 Aug 2012, Ben Fritz wrote:
> From previous discussion, he claims to want the first "blobfish" on or > after line 51. While this could be done with the line number match, it > seemed clearer to use a range. > > But maybe try the line number match anyway, the pattern should be like > '\%51l\_.\{-}\zsblobfish' (untested), which should match any number of > characters including line endings on or after line 51, as few as > possible until "blobfish" is encountered, and set the start of match > to the start of "blobfish". It is even easier using the '\%>l' item: \%>51lblobfish this finds the first blobfish after line 51. regards, Christian -- 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