Macos specific configs
This commit is contained in:
43
main.org
43
main.org
@@ -59,6 +59,14 @@ replacement for defining configs for different things.
|
|||||||
`(("." . ,(concat user-emacs-directory "backups")))))
|
`(("." . ,(concat user-emacs-directory "backups")))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
* MacOS Specific
|
||||||
|
|
||||||
|
#+begin_src elisp :tangle yes
|
||||||
|
(when (eq system-type 'darwin)
|
||||||
|
(setq mac-option-modifier 'meta)
|
||||||
|
)
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* Visual Customization
|
* Visual Customization
|
||||||
|
|
||||||
#+begin_src elisp :tangle yes
|
#+begin_src elisp :tangle yes
|
||||||
@@ -275,7 +283,8 @@ Who even needs C++, not me, no way, no how.
|
|||||||
#+end_src
|
#+end_src
|
||||||
** Rust
|
** Rust
|
||||||
#+begin_src elisp :tangle yes
|
#+begin_src elisp :tangle yes
|
||||||
(leaf rust-mode :ensure t)
|
(leaf rust-mode :ensure t
|
||||||
|
(leaf slint-mode :ensure t))
|
||||||
#+end_src
|
#+end_src
|
||||||
** Minecraft??
|
** Minecraft??
|
||||||
Minecraft =mcfunction= support, because, it can be annoying to type
|
Minecraft =mcfunction= support, because, it can be annoying to type
|
||||||
@@ -316,11 +325,20 @@ updating our bibliography.
|
|||||||
(leaf pdf-tools :ensure t)
|
(leaf pdf-tools :ensure t)
|
||||||
:config
|
:config
|
||||||
(setq bibtex-completion-bibliography
|
(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
|
(setq org-ref-insert-link-function 'org-ref-insert-link-hydra/body
|
||||||
org-ref-insert-cite-function 'org-ref-cite-insert-helm
|
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
|
of the presentation first, and prettifying later. Reveal.js is a nice
|
||||||
in between of these.
|
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
|
#+begin_src elisp :tangle yes
|
||||||
(leaf ox-reveal :ensure t
|
(leaf ox-reveal :ensure t
|
||||||
:require t
|
:require t
|
||||||
@@ -422,7 +444,10 @@ collation of all the dates and todos etc.
|
|||||||
(leaf org-agenda-file
|
(leaf org-agenda-file
|
||||||
:after org
|
:after org
|
||||||
:config
|
: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
|
#+end_src
|
||||||
|
|
||||||
**** Capture Things
|
**** Capture Things
|
||||||
@@ -438,7 +463,11 @@ told to go elsewhere.
|
|||||||
(leaf org-capture-cfg
|
(leaf org-capture-cfg
|
||||||
:after org
|
:after org
|
||||||
:config
|
: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")))
|
(setq org-default-notes-file (concat org-directory "/notes.org")))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user