2019-12-07 23:09:25 +01:00
|
|
|
;; 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)
|
|
|
|
|
2020-01-05 23:51:24 +01:00
|
|
|
(setq dotfiles-dir
|
|
|
|
(file-name-directory
|
|
|
|
(or (buffer-file-name) (file-chase-links load-file-name))))
|
2019-12-07 23:09:25 +01:00
|
|
|
|
|
|
|
(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)
|
2020-01-05 23:51:24 +01:00
|
|
|
(require 'jenga-ui)
|
2019-12-07 23:09:25 +01:00
|
|
|
|
|
|
|
;; Custom languages and highlighting
|
|
|
|
(require 'jenga-elm)
|
|
|
|
(require 'jenga-rust)
|
|
|
|
(require 'jenga-systemd)
|
2020-01-05 23:51:24 +01:00
|
|
|
(require 'jenga-python)
|
|
|
|
|
|
|
|
(setq custom-file "~/.emacs.d/custom.el")
|
|
|
|
(load custom-file)
|