emacs.d/init.el

35 lines
1 KiB
EmacsLisp
Raw Normal View History

2019-12-07 23:09:25 +01:00
;; Configure emacs packages.
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
(when (not (package-installed-p 'use-package))
(package-refresh-contents)
(package-install 'use-package))
(require 'use-package)
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-prelude)
2019-12-07 23:09:25 +01:00
(require 'jenga-emacs)
(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)
2020-01-06 02:15:43 +01:00
;; ## added by OPAM user-setup for emacs / base ## 56ab50dc8996d2bb95e7856a6eddb17b ## you can edit, but keep this line
(require 'opam-user-setup "~/.emacs.d/opam-user-setup.el")
;; ## end of OPAM user-setup addition for emacs / base ## keep this line