Indentation changes and Structural changes

This commit is contained in:
2024-06-05 09:53:46 -04:00
parent f8f64a0802
commit 937e5d5518

View File

@@ -38,18 +38,24 @@ replacement for defining configs and relations between packages etc.
(leaf leaf-tree :ensure t)
(leaf leaf-convert :ensure t)
(leaf transient-dwim
:ensure t
(leaf transient-dwim :ensure t
:bind (("M-=" . transient-dwim-dispatch)))
#+end_src
** MacOS Specific
#+begin_src elisp :tangle yes
(when (eq system-type 'darwin)
(setq mac-option-modifier 'meta))
#+end_src
** Performance
*** Garbage Collection
#+begin_src elisp :tangle yes
(leaf gcmh :ensure t
:hook (after-init-hook))
(leaf gcmh :ensure t
:hook (after-init-hook))
#+end_src
*** Profiling
@@ -65,10 +71,10 @@ Ensure that the =custom.el= resides in the users' emacs directory.
#+begin_src elisp :tangle yes
(leaf custom-el
:config
;; Ensure custom writes to specific file
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
(load custom-file 'noerror 'nomessage))
:config
;; Ensure custom writes to specific file
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
(load custom-file 'noerror 'nomessage))
#+end_src
*** Backups
@@ -77,20 +83,13 @@ Set the backups directory to reside in the users' emacs directory.
#+begin_src elisp :tangle yes
(leaf backup
:config
;; Change the location of file backups/locks into the emacs.d/backups/
(setq backup-directory-alist
`(("." . ,(concat user-emacs-directory "backups")))))
:config
;; Change the location of file backups/locks into the emacs.d/backups/
(setq backup-directory-alist
`(("." . ,(concat user-emacs-directory "backups")))))
#+end_src
* MacOS Specific
#+begin_src elisp :tangle yes
(when (eq system-type 'darwin)
(setq mac-option-modifier 'meta))
#+end_src
** Path Preservation
** Shell Path Preservation
Exec-path-from-shell ensures that path variable is preserved from
shell.