Configuring Emacs for eUVM

eUVM is built on top of the D programming language. To edit eUVM files in Emacs, we need to configure emacs for d-mode. Here is one way to do that.

First, we need to clone the Emacs D package from GitHub:

cd ~/.emacs.d
mkdir elisp
cd elisp
git clone https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode.git

Now we need to add the package path to Emacs load-path and then we need to load the package. So for that, you need to add the following lines to your Emacs configuration file (~/.emacs.d/init.el):

(setq load-path (cons "~/.emacs.d/elisp/Emacs-D-Mode" load-path))
(require 'd-mode)

Having done that, you will need to quit emacs and launch it again.