2022-11-25 13:21:06 -05:00
|
|
|
;; Install straight.el
|
|
|
|
(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))
|
|
|
|
|
|
|
|
;; Install use-package
|
|
|
|
(straight-use-package 'use-package)
|
|
|
|
|
|
|
|
;; Configure use-package to use straight.el by default
|
|
|
|
(use-package straight
|
2023-05-28 01:10:14 -04:00
|
|
|
:custom (straight-use-package-by-default t))
|
2022-11-25 13:21:06 -05:00
|
|
|
|
2022-11-25 13:33:10 -05:00
|
|
|
(straight-use-package 'org)
|
|
|
|
(require 'org)
|
2022-10-26 00:13:43 -04:00
|
|
|
(org-babel-load-file
|
|
|
|
(expand-file-name "settings.org"
|
2023-05-28 01:10:14 -04:00
|
|
|
user-emacs-directory))
|
2022-10-26 00:13:43 -04:00
|
|
|
|
|
|
|
(custom-set-variables
|
|
|
|
;; custom-set-variables 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.
|
2023-01-04 02:06:20 -05:00
|
|
|
'(elcord-idle-message "Idling...")
|
|
|
|
'(elcord-idle-timer 120)
|
|
|
|
'(elcord-refresh-rate 3)
|
2023-05-28 01:10:14 -04:00
|
|
|
'(org-html-postamble nil)
|
|
|
|
'(org-html-preamble t)
|
2022-11-07 17:47:39 -05:00
|
|
|
'(package-selected-packages
|
|
|
|
'(kotlin-mode magit counsel doom-modeline doom-themes use-package))
|
2022-10-26 00:13:43 -04:00
|
|
|
'(tab-width 2))
|
|
|
|
(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.
|
|
|
|
)
|
|
|
|
|
2023-05-28 01:10:14 -04:00
|
|
|
(put 'downcase-region 'disabled nil)
|