Ok, i tried it now, Marc (Weber). :set makeprg=echo :make test :copen printed "|| test", so it worked properly.
:make % didn't change the fact that :cfirst is looking in the errors.err file, which doesn't exist. Setting the errorfile to C:/quickfix_errors.err with this line in all my Perl scripts: use Vi::QuickFix 'C:/quickfix_errors.err'; and then calling :cfile C:/quickfix_errors.err Works for me, so i'll stick to that. I've automated it now, it's really nice =) It's not "perfectly perfect", but good enough for me. On 14 July 2012 11:45, Marc Weber <[email protected]> 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 > -- [email protected] 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
