emacs-config/init.el

41 lines
1.5 KiB
EmacsLisp
Raw Normal View History

2019-04-11 13:40:33 -04:00
;; (require 'package)
;; (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)
;; (add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t)
;; (package-initialize)
2018-07-17 15:35:42 -04:00
2019-04-11 13:40:33 -04:00
;; init the straight package manager
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
(bootstrap-version 5))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
'silent 'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
(straight-use-package 'use-package)
;; (unless (package-installed-p 'use-package)
;; (package-refresh-contents)
;; (package-install 'use-package))
2018-07-17 15:35:42 -04:00
(defvar nd/conf-dir "~/.emacs.d/"
2018-12-11 20:05:56 -05:00
"The absolute path to the EMACS configuration directory.")
(defvar nd/conf-main (expand-file-name "conf.org" nd/conf-dir)
2018-12-11 20:05:56 -05:00
"The absolute path the main EMACS configuration file.")
(org-babel-load-file nd/conf-main)
2018-07-17 15:35:42 -04:00
2018-07-20 01:52:34 -04:00
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(aw-leading-char-face ((t (:foreground "#292b2e" :background "#bc6ec5" :height 1.0 :box nil)))))
2018-12-11 19:33:59 -05:00
(put 'upcase-region 'disabled nil)