I run my
make commands asynchronously in vim with the asyncrun plugin.
I use this code in my
.vimrc to open the quickfix window automatically everytime I run an asynchronous make command in order to see the output.
autocmd QuickFixCmdPost * botright copen 8
nnoremap <leader>m :AsyncRun -cwd=<root> make<CR>
I usually don't want to jump into the quickfix window, but only open it and see the output. I couldn't find a way how to achieve this.