Reorganization: Beginning
This commit is contained in:
77
main.org
77
main.org
@@ -7,13 +7,14 @@
|
|||||||
#+author:
|
#+author:
|
||||||
#+language: en
|
#+language: en
|
||||||
|
|
||||||
* Intialization
|
* Initialization
|
||||||
|
|
||||||
|
** Leaf.el
|
||||||
|
|
||||||
We must initialize =leaf.el=, which we use as a use-package
|
We must initialize =leaf.el=, which we use as a use-package
|
||||||
replacement for defining configs for different things.
|
replacement for defining configs and relations between packages etc.
|
||||||
|
|
||||||
#+begin_src elisp :tangle yes
|
#+begin_src elisp :tangle yes
|
||||||
;; <leaf-install-code>
|
|
||||||
(eval-and-compile
|
(eval-and-compile
|
||||||
(customize-set-variable
|
(customize-set-variable
|
||||||
'package-archives '(("org" . "https://orgmode.org/elpa/")
|
'package-archives '(("org" . "https://orgmode.org/elpa/")
|
||||||
@@ -34,7 +35,6 @@ replacement for defining configs for different things.
|
|||||||
:config
|
:config
|
||||||
;; initialize leaf-keywords.el
|
;; initialize leaf-keywords.el
|
||||||
(leaf-keywords-init)))
|
(leaf-keywords-init)))
|
||||||
;; </leaf-install-code>
|
|
||||||
|
|
||||||
(leaf leaf-tree :ensure t)
|
(leaf leaf-tree :ensure t)
|
||||||
(leaf leaf-convert :ensure t)
|
(leaf leaf-convert :ensure t)
|
||||||
@@ -43,6 +43,26 @@ replacement for defining configs for different things.
|
|||||||
:bind (("M-=" . transient-dwim-dispatch)))
|
:bind (("M-=" . transient-dwim-dispatch)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** Performance
|
||||||
|
|
||||||
|
*** Garbage Collection
|
||||||
|
|
||||||
|
#+begin_src elisp :tangle yes
|
||||||
|
(leaf gcmh :ensure t
|
||||||
|
:hook (after-init-hook))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
*** Profiling
|
||||||
|
#+begin_src elisp :tangle yes
|
||||||
|
(leaf esup :disabled nil :ensure t)
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
** Emacs Paths
|
||||||
|
|
||||||
|
*** Custom.el
|
||||||
|
|
||||||
|
Ensure that the =custom.el= resides in the users' emacs directory.
|
||||||
|
|
||||||
#+begin_src elisp :tangle yes
|
#+begin_src elisp :tangle yes
|
||||||
(leaf custom-el
|
(leaf custom-el
|
||||||
:config
|
:config
|
||||||
@@ -51,6 +71,10 @@ replacement for defining configs for different things.
|
|||||||
(load custom-file 'noerror 'nomessage))
|
(load custom-file 'noerror 'nomessage))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
*** Backups
|
||||||
|
|
||||||
|
Set the backups directory to reside in the users' emacs directory.
|
||||||
|
|
||||||
#+begin_src elisp :tangle yes
|
#+begin_src elisp :tangle yes
|
||||||
(leaf backup
|
(leaf backup
|
||||||
:config
|
:config
|
||||||
@@ -59,26 +83,6 @@ replacement for defining configs for different things.
|
|||||||
`(("." . ,(concat user-emacs-directory "backups")))))
|
`(("." . ,(concat user-emacs-directory "backups")))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Visual Customization
|
|
||||||
|
|
||||||
#+begin_src elisp :tangle yes
|
|
||||||
(leaf visual
|
|
||||||
:doc "Visual Changes to Emacs"
|
|
||||||
:tag "builtin" "internal"
|
|
||||||
:custom ((menu-bar-mode . nil)
|
|
||||||
(tool-bar-mode . nil)
|
|
||||||
(scroll-bar-mode . nil))
|
|
||||||
:custom-face ((default . '((t (:family "JuliaMono"
|
|
||||||
:height 150
|
|
||||||
:weight normal)))))
|
|
||||||
:config (prog1 'visual
|
|
||||||
;; Set location of custom theme dir
|
|
||||||
(setq custom-theme-directory (concat user-emacs-directory "themes"))
|
|
||||||
(load-theme 'UniverseHighContrast)))
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
* Package Configuration
|
|
||||||
|
|
||||||
** Path Preservation
|
** Path Preservation
|
||||||
|
|
||||||
Exec-path-from-shell ensures that path variable is preserved from
|
Exec-path-from-shell ensures that path variable is preserved from
|
||||||
@@ -90,6 +94,26 @@ shell.
|
|||||||
(exec-path-from-shell-initialize))
|
(exec-path-from-shell-initialize))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
* Visual Customization
|
||||||
|
|
||||||
|
Visual Theme of Emacs config: defined in the =themes= directory.
|
||||||
|
|
||||||
|
#+begin_src elisp :tangle yes
|
||||||
|
(leaf visual
|
||||||
|
:doc "Visual Changes to Emacs"
|
||||||
|
:tag "builtin" "internal"
|
||||||
|
:custom ((menu-bar-mode . nil)
|
||||||
|
(tool-bar-mode . nil)
|
||||||
|
(scroll-bar-mode . nil))
|
||||||
|
:custom-face ((default . '((t (:family "JuliaMono"
|
||||||
|
:height 150
|
||||||
|
:weight normal)))))
|
||||||
|
:config
|
||||||
|
;; Set location of custom theme dir
|
||||||
|
(setq custom-theme-directory (concat user-emacs-directory "themes"))
|
||||||
|
(load-theme 'UniverseHighContrast))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** Font Related
|
** Font Related
|
||||||
|
|
||||||
*** Ligature
|
*** Ligature
|
||||||
@@ -124,10 +148,7 @@ Font related ligatures, combining multiple characters into "one".
|
|||||||
(global-ligature-mode t))
|
(global-ligature-mode t))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Profiling
|
* Package Configuration
|
||||||
#+begin_src elisp :tangle yes
|
|
||||||
(leaf esup :disabled nil :ensure t)
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
** Version Control
|
** Version Control
|
||||||
#+begin_src elisp :tangle yes
|
#+begin_src elisp :tangle yes
|
||||||
|
|||||||
Reference in New Issue
Block a user