G-Code M-Code Syntax CNC for VI and EMACS

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

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

+4
source share
1 answer

A quick search led me to this syntax highlighting file for vim and this for emacs. For vim, the ngc.vim file must be placed in the syntax directory of your runtimepath . For emacs, it seems that you just need to copy this code into your .emacs file.

+7
source

Source: https://habr.com/ru/post/1390364/


All Articles