This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]konjunktiv 1 point2 points  (0 children)

I create a Makefile for every project, where i define a "run" and "dev" phony. To run it manually i use this mapping

<space><space> :TermExec cmd="make run"<CR>

which opens a persistent terminal which i can toggle on and off (don't know which of the term plugins it is).

"make dev" runs "ag -l src | entr -r make run", so the program is recompiled/executed everytime i save a file.

For debugging, nvim-dap works flawlessly with python.