An Emacs mode for syntax highlighting
kmonad's .kbd files.
Because the configuration language is very close to a LISP, inheriting
from any of Emacs' many LISP modes will also give us sensible
parenthesis handling for free!
Copy kbd-mode.el into a directory within your load-path and require
it. For example---assuming that this file was placed within the
~/.config/emacs/elisp directory:
(add-to-list 'load-path "~/.config/emacs/elisp/")
(require 'kbd-mode)If you use use-package, you can express the above as
(use-package kbd-mode
:load-path "~/.config/emacs/elisp/")guix install emacs-kbd