6. Want :match called automatically in Quickfix buffer for searched pattern
       (solution: use custom command and function).

   7. Actually, solution to 6 isn't quite what I want, I'd like it to
behave as if I
       typed '/<pat>' in quickfix so n, N, etc. work (no solution yet).

You can use the following Vim script code to achieve this effect:

        :let @/ = 'this is your search pattern'

Documentation for :let @/ = syntax is at :help :let-@

 - Peter Odding

--
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

Raspunde prin e-mail lui