I use something very similar for mathematical homework and notes: MacVim, with a Makefile that runs Pandoc with the Eisvogel template.
I also have a script that runs fswatch to run make on save.
Didn't know about virtualedit, though: tables are going to be so much easier now.