Saturday, July 14, 2012

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

I'm just seeing this message now. I'll try this on monday, thank you :-)


On 14 July 2012 11:45, Marc Weber <marco-oweber@gmx.de> wrote:
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



--

mascip@gmail.com
http://lesrikikibians.fr

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

Post a Comment