Hi Codeforces,
I am now switching to spacemacs as my text editor. It combines some main features of vim and emacs, which makes it very powerful. However, my main concern is how to compile and run the program efficiently. Right now, I have to manually compile the program in terminal using commands like g++ -o test test.cpp
and ./test
, which takes a lot of time. The previous text editors I used such as sublime text or vim can allow me to create custom shortcuts such as F9
to compile and run the program, but how can I do that in spacemacs?
Sorry if this is a trivial question, but it would be very helpful if you can answer this question :)