Running :make from gVim in Background

后端 未结 7 1144
失恋的感觉
失恋的感觉 2020-12-01 00:46

I use gVim in windows to edit my code (mostly C++). I use :make in gVim to compile the project, but this is a blocking operation, that prevents me from using gVim until the

7条回答
  •  悲哀的现实
    2020-12-01 01:24

    I would use your OS's inbuilt methods for running background tasks.

    On windows, try typing

    :!start make
    

    On linux / mac os x, try

    :!make > /dev/null 2>&1 &
    

提交回复
热议问题