macvim - vim redirect output to quickfix -


is possible redirect output of command quick fix window?

the command running

:!java %:r 

and hoping output go quickfix window

please note quickfix window specific output (e.g. of compiler or syntax checker tools) includes references (i.e. line , column numbers) current buffer. there's lot of infrastructure around this: 'makeprg', 'errorformat', etc., bundled compiler plugin.

though can redirect arbitrary output quickfix window, provides little benefit (and has downside of clobbering 'makeprg') on reading output of external program new scratch buffer, e.g. this:

:new|0read !java #:r 

Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -