On Monday, October 27, 2014 1:06:12 PM UTC-7, Christian Brabandt wrote: > Bram, > here is a patch, that allows to use > :vimgrep /foobar/ > to search only the current buffer. You might want to argue this is > already possible just use '%' as the filename, but that does not work, > if the current buffer does not have a name yet. Then vimgrep complains > about not being able to access an unknown file, although it wouldn't > have to load the file, since it is already in memory, so it should be > possible to do so, without writing temporary files. > > Best, > Christian > -- > Man erzürnt sich immer mehr gegen einen, für den man erst den Zorn > einige Zeit aufheben muß - und genade ihm dann Gott! > -- Jean Paul
Christian Just curious... How is that different from simply using `/` ? Is this a `just in case` scenario? Bill -- -- You received this message from the "vim_dev" 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_dev" 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.
