问题 Is it possible to redirect an output of a command to the quick fix window? The command I am running is :!java %:r and was hoping the output would go into the quickfix window 回答1: Please note that the quickfix window is for specific output (e.g. of compiler or syntax checker tools) which includes references (i.e. line and column numbers) to the current buffer. There's a lot of infrastructure around this: 'makeprg' , 'errorformat' , etc., usually bundled into a compiler plugin . Though you can