While working remotely without a VPN, I resort to nothing less than vim. Vim is great, but having to leave the editor to compile and run code is time consuming.
To get around that, vim will allow you to run commands inside of it. It’s quite simple. For instance, I frequently call
./test. In vim enter
:! make and after,
:! ./test. That will compile your code and then run your tests. This works for anything too, you can run, for example
cat the same way.