Once I compile and run the code in currently opened vim, the window shifts to terminal where I can input the data. I want the code to run on a separate window, so that I can look at my code too at the same time. SublimeText is a good example, where I can choose which terminal emulator to run my code on. And, the code runs on a separate window.
question from:https://stackoverflow.com/questions/65916752/how-to-run-c-programs-on-new-terminal-window-after-compilation-in-vim