Saturday, July 14, 2012

Re: Quickfix and Perl - Vim won't jump to my next compilation error

Sorry, I was too tired.

make should load the error list into quickfix. So I don't understand
is going wrong.

Try this:

:set makeprg=echo
:make test

then after :copen you should have that "|| test" in the qf window.

Maybe just try

:make %

in your case (after using :compiler perl or resetting it to perl -c)
The % always refers to the current file.

Remember that @: repeats the last command action.

:map <f2> :update<bar>make %<cr>

is the way to automate it.

Marc Weber

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

No comments: