Question

I want to use Vim and EMACS for CNC, G codes & M codes.

Is there any syntax or modes for Vim or EMACS for working with this type of code?

Was it helpful?

Solution

Some quick searching led me to this syntax highlighting file for vim and this one for emacs. For vim the ngc.vim file needs to put in the syntax directory of your runtimepath. For the emacs one it seems like you just need to copy that code into your .emacs file.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top