emacs.d/init.el

30 lines
874 B
EmacsLisp
Raw Normal View History

2019-12-07 23:09:25 +01:00
;; Load emacs customizations.
;; The customization file shouldn't should be only
(setq custom-file "~/.emacs.d/custom.el")
(load custom-file)
;; Configure emacs packages.
(setq should-install-packages t) ;; Define this before everything to speed up startup.
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
(setq dotfiles-dir (file-name-directory
(or (buffer-file-name) (file-chase-links load-file-name))))
(add-to-list 'load-path (concat dotfiles-dir "modules"))
;; Emacs customization / global plugin configuration
(require 'jenga-company)
(require 'jenga-emacs)
(require 'jenga-evil)
(require 'jenga-helm)
(require 'jenga-magit)
(require 'jenga-org)
(require 'jenga-theme)
;; Custom languages and highlighting
(require 'jenga-elm)
(require 'jenga-rust)
(require 'jenga-systemd)