I thought this was possible in vim, but i've never done it.

I'm in vim (or gvim), and am editing a file (say type 'C').

I want it to run 'gcc' then scan the error outputs and maybe split the
window showing me the error message and taking me to the first error mentioned.

Perhaps some keypress would allow me to skip forward or backward to the next or 
previous error as mentioned in the compiler output -- 

I might find the same usefule for other languages like perl and such -- and 
I thought vimg supported this type of edit-compile-(get errs), edit-- up to it 
compiling cleanly -- at which point, I could exit vim (or not, if I used
'!', and run my program.

I've looked at compile, make, compiler, gcc, but don't get the topics I'm 
looking
for -- I'm sure it's in the help *somewhere* (?) assuming I having imagined 
this type of usage in vim.

Anyone familiar with this type of usage?  

To be more complex, one might try executing a makefile, and if you
were at the top level, and it, lets say, was a C or C++ proj, then
when errors pop out, vim would parse the paths and let you edit files 
with errors even if located in a subdir...but that's a further advanced tweak.

right now, I'm just trying a single file in my current directory...is this 
possible?  and what topic(s) do I need to be reading under (or what is the
magical invocations for such a feature...)

Thanks!
Linda


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to