bling/dotemacs: emacs configuration for vim users
github.com·2h
✏️Code Editors
Preview
Report Post

dotemacs

This is my personal KISS Emacs config.

intro

There are many emacs configs, what makes this one different?

kiss

This is a keep it simple stupid config. It is built with 3 simple building blocks; small enough that it is white magic instead of black magic.

simple building block 1

(defun require-package (package)
"Ensures that PACKAGE is installed."
(unless (or (package-installed-p package)
(require package nil 'noerror))
(unless (assoc package package-archive-contents)
(package-refresh-contents))
(package-install package)))

The code here is self-explanatory. This is how you declare what packages you want to install and use. This was taken from Purcell’s config.

simple building block 2

`with-eval-after-loa…

Similar Posts

Loading similar posts...