Scroll terminal windows when using :!

Hello!.. i am new to Neovim but not to Vim… i am very happy with it…

i use Qt as my Framework, and compile using a command:

map 1 :! cls && qmake project.pro && mingw32-make -j4 <Enter>

When i hit key 1, vim/neovim enters into terminal command and start compiling, sometimes (ok, often) i get so many warnings and errors, in vim i just scroll up down to navigate in the compiler log… but in neovim there is no way to scroll up down… so it only stands for the last compiler result lines… is there a way to activate terminal scrolling as in vim?.. or may another way to set a compilation command shortcut ? thanks!

Edit:

I solved it with a very nice terminal feature!

just replaced:

map 1 :! cls && qmake project.pro && mingw32-make -j4 <Enter>

with:

map 1 :terminal cls && qmake project.pro && mingw32-make -j4 <Enter>

and now i can indeed navigate thorugh the terminal…

1 Like