Tuesday, May 17, 2011

Re: error file for quick fix

On May 11, 9:29 am, Ben Schmidt <mail_ben_schm...@yahoo.com.au> wrote:
> On 11/05/11 11:11 PM, cyboman wrote:
>
> > i have the following settings in my _vimrc for make
>
> > set makeef=error.err " the errorfile for :make and :grep
> > set makeprg=gmake.exe\ --win32
> > set errorformat=%f\(%l\)\ :\ %m,%C\ \ %p^\,%C%p~,%A\"%f\"\\,%l%m\,%C%m
> > \,%Z
>
> > unfortunately i'm not able to find theerror.errfileafter
> > compilation. can someone help me out? where does vim storeerror.err
> >file?
>
> It is deleted.
>
> :help :make
>
> Step 8.
>
> Ben.

does anybody know of a way of saving this file, without telling
vim :saveas or :write. make mappings as follows
nmap <S-F11> :cd src<cr>:make all<cr>:cd ..<cr>:copen<cr>
nmap <A-F11> :cd src<cr>:make rebuild<cr>:cd ..<cr>:copen<cr>
nmap <S-F12> :cd src<cr>:make final<cr>:cd ..<cr>:copen<cr>

the file is not saved after i close the quick fix list window. it
would be nice to have the ability to save the output to a file
automatically and then overwrite it every time there is a recompile.
so i could read it later if needed. does anybody have any suggestions?

please click 'reply to author' when answering this thread.

any help is appreciated.

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