chd/.emacs.d/init.el

40 lines
1.1 KiB
EmacsLisp
Raw Normal View History

2020-01-04 22:53:01 +00:00
;; -*- mode: elisp -*-
;; Bootstrap's bootstraps
;;;; bootstrap's bootstraps
(package-initialize)
(require 'package)
(setq package-archives
2022-03-18 20:00:43 +00:00
2020-10-28 04:02:36 +00:00
'(("melpa" . "https://melpa.org/packages/")
2022-06-05 21:55:43 +00:00
("melpa-stable" . "http://melpa-stable.milkbox.net/packages/")
2020-01-04 22:53:01 +00:00
("gnu" . "http://elpa.gnu.org/packages/")
("elpy" . "http://jorgenschaefer.github.io/packages/")))
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(eval-when-compile
(require 'use-package))
2021-03-08 17:37:28 +00:00
;; custom shit should go somewhere else:
(setq custom-file "~/.emacs.d/custom.el")
(load custom-file)
2020-01-04 22:53:01 +00:00
;; load my files
2020-01-05 04:09:30 +00:00
(load-file "~/.emacs.d/org-protocol-capture-html.el")
2020-01-05 04:07:29 +00:00
(load-file "~/.emacs.d/src/keychain-environment.el")
(load-file "~/.emacs.d/jlj-generic.el")
(load-file "~/.emacs.d/jlj-golang.el")
(load-file "~/.emacs.d/jlj-org.el")
(load-file "~/.emacs.d/jlj-python.el")
(load-file "~/.emacs.d/jlj-rust.el")
2020-03-24 03:15:17 +00:00
;; (load-file "~/.emacs.d/jlj-social.el")
2020-01-04 22:53:01 +00:00
;; load keychain (if it exists)
(when (eq system-type 'gnu/linux)
(keychain-refresh-environment)
)