From 937e5d5518a7a759ad08dee7e06951a8173ec830 Mon Sep 17 00:00:00 2001 From: david Date: Wed, 5 Jun 2024 09:53:46 -0400 Subject: [PATCH] Indentation changes and Structural changes --- main.org | 39 +++++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/main.org b/main.org index 2aeaac7..d5d7d03 100644 --- a/main.org +++ b/main.org @@ -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.