Macos specific configs

This commit is contained in:
2024-06-05 09:47:28 -04:00
parent d3452d3f0a
commit 697aeeaafc

View File

@@ -59,6 +59,14 @@ replacement for defining configs for different things.
`(("." . ,(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
* Visual Customization
#+begin_src elisp :tangle yes
@@ -275,7 +283,8 @@ Who even needs C++, not me, no way, no how.
#+end_src
** Rust
#+begin_src elisp :tangle yes
(leaf rust-mode :ensure t)
(leaf rust-mode :ensure t
(leaf slint-mode :ensure t))
#+end_src
** Minecraft??
Minecraft =mcfunction= support, because, it can be annoying to type
@@ -316,11 +325,20 @@ updating our bibliography.
(leaf pdf-tools :ensure t)
:config
(setq bibtex-completion-bibliography
(list (expand-file-name "~/Documents/Bibliography/references.bib")))
(list (expand-file-name "~/Nextcloud/Bibliography/references.bib")))
(setq org-ref-bibliography-notes "~/Nextcloud/Bibliography/notes.org"
org-ref-default-bibliography '("~/Nextcloud/Bibliography/references.bib")
org-ref-pdf-directory "~/Nextcloud/Bibliography/bibtex-pdfs/")
(when (eq system-type 'darwin)
(setq bibtex-completion-bibliography
(list (expand-file-name "~/Nextcloud/Bibliography/references.bib")))
(setq org-ref-bibliography-notes "~/Nextcloud/Bibliography/notes.org"
org-ref-default-bibliography '("~/Nextcloud/Bibliography/references.bib")
org-ref-pdf-directory "~/Nextcloud/Bibliography/bibtex-pdfs/")
)
(setq org-ref-bibliography-notes "~/Documents/Bibliography/notes.org"
org-ref-default-bibliography '("~/Documents/Bibliography/references.bib")
org-ref-pdf-directory "~/Documents/Bibliography/bibtex-pdfs/")
(setq org-ref-insert-link-function 'org-ref-insert-link-hydra/body
org-ref-insert-cite-function 'org-ref-cite-insert-helm
@@ -341,6 +359,10 @@ Writing mockup presentations can be quicker when you focus on the text
of the presentation first, and prettifying later. Reveal.js is a nice
in between of these.
TODO: I need to ensure [[https://gitlab.com/oer/emacs-reveal.git][emacs-reveal]] is installed properly via both nix
& the git clone. Could use a submodule? Maybe. I don't know if that
will work
#+begin_src elisp :tangle yes
(leaf ox-reveal :ensure t
:require t
@@ -422,7 +444,10 @@ collation of all the dates and todos etc.
(leaf org-agenda-file
:after org
:config
(setq org-agenda-files '("~/Documents/org")))
(setq org-agenda-files '("~/Nextcloud/org")))
(when (eq system-type 'darwin)
(setq org-agenda-files '("~/Nextcloud/org"))
)
#+end_src
**** Capture Things
@@ -438,7 +463,11 @@ told to go elsewhere.
(leaf org-capture-cfg
:after org
:config
(setq org-directory "~/Documents/org")
(setq org-directory "~/Nextcloud/org")
(when (eq system-type 'darwin)
(setq org-directory '("~/Nextcloud/org"))
)
(setq org-default-notes-file (concat org-directory "/notes.org")))
#+end_src