I am at the beginning of switching from vim to nvim. When I build my program by runing a script from a shortcut key, it will output the build info. In vim, the build info is put into terminal, I can check the build info by shell command. In nvim, the build info seems to be put into another terminal, it will be cleared once enter or other key is pressed.How can I pull up the build info again if I want to check it once more?

The build info is the output when building a C program, such as the warning and error informations. There might be several errors. I would like to check one by one. But I don't know how to pull up the build info once more.

  • 1
    please elaborate, what build info are you talking about? – Christian Brabandt Jun 23 '20 at 7:25
  • 1
    Welcome to Vi and Vim! As Christian said, it would be helpful if you edit to describe the exact vim commands you use to run your build. (You may find :make to be a useful command when setup properly, as it loads the build information into the quickfix list.). – D. Ben Knoble Jun 23 '20 at 11:21
  • It is a shortcut key and will call a bash script to build a C program. The build info is output of the C program during compiling, such as warning and error. – peng chen Jun 29 '20 at 1:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.