ide - How to run make in vim and open results in a split window? -


i use vim coding. when have compile current file, use :!g++ % && ./a.out or :make. errors/output displayed gone when press enter , file. wish errors , output displayed in vertical split side. nice if output , error streams in separate buffers. how can done? errors , output buffer(s) should updated when compile again , should not create new buffers. how can this? vim pluggin/function? or oneliner :p?

oneliner:

:make | copen 

see http://vimdoc.sourceforge.net/htmldoc/quickfix.html#quickfix-window


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -