|
|
@ -53,37 +53,13 @@ Isolate or remove backup files for a clean structure. |
|
|
tramp-persistency-file-name (uno-cache-path "tramp/history")) |
|
|
tramp-persistency-file-name (uno-cache-path "tramp/history")) |
|
|
#+END_SRC |
|
|
#+END_SRC |
|
|
|
|
|
|
|
|
* Straight + Use Package |
|
|
|
|
|
|
|
|
* General |
|
|
|
|
|
|
|
|
Run bootstrap code for =straight= and have =use-package= ready. |
|
|
|
|
|
|
|
|
Set up generic and leader key binds that are used throughout. =general= is loaded first to set up integration with =evil= before setting up =general=. |
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
#+BEGIN_SRC emacs-lisp |
|
|
(setq |
|
|
|
|
|
straight-profiles `((nil . ,(uno-emacs-path "straight.lock.el"))) |
|
|
|
|
|
straight-use-package-by-default t) |
|
|
|
|
|
|
|
|
|
|
|
(let ((bootstrap-file |
|
|
|
|
|
(uno-emacs-path "straight/repos/straight.el/bootstrap.el")) |
|
|
|
|
|
(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) |
|
|
|
|
|
|
|
|
|
|
|
(use-package general) |
|
|
(use-package general) |
|
|
#+END_SRC |
|
|
|
|
|
|
|
|
|
|
|
* General |
|
|
|
|
|
|
|
|
|
|
|
Set up general and leader key binds that are used throughout. |
|
|
|
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
|
|
(use-package evil |
|
|
(use-package evil |
|
|
:custom |
|
|
:custom |
|
|
(evil-want-keybinding nil) |
|
|
(evil-want-keybinding nil) |
|
|
@ -120,6 +96,8 @@ Set up general and leader key binds that are used throughout. |
|
|
|
|
|
|
|
|
* Modules |
|
|
* Modules |
|
|
|
|
|
|
|
|
|
|
|
Traverse through modules and load each one. |
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
#+BEGIN_SRC emacs-lisp |
|
|
(let* ((uno-module-directory (uno-path "modules/")) |
|
|
(let* ((uno-module-directory (uno-path "modules/")) |
|
|
(uno-module-files (directory-files-recursively |
|
|
(uno-module-files (directory-files-recursively |
|
|
|