Cleaning up config.
This commit is contained in:
parent
36cb387481
commit
348f7d648b
|
@ -280,7 +280,7 @@
|
||||||
(map! :leader
|
(map! :leader
|
||||||
:desc "Org babel tangle" "m B" #'org-babel-tangle)
|
:desc "Org babel tangle" "m B" #'org-babel-tangle)
|
||||||
(after! org
|
(after! org
|
||||||
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))
|
;;(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))
|
||||||
(setq org-directory "~/nc/Org/"
|
(setq org-directory "~/nc/Org/"
|
||||||
org-agenda-files '("~/nc/Org/agenda.org")
|
org-agenda-files '("~/nc/Org/agenda.org")
|
||||||
org-default-notes-file (expand-file-name "notes.org" org-directory)
|
org-default-notes-file (expand-file-name "notes.org" org-directory)
|
||||||
|
@ -342,7 +342,8 @@
|
||||||
:publishing-function org-publish-attachment)
|
:publishing-function org-publish-attachment)
|
||||||
))
|
))
|
||||||
|
|
||||||
(setq org-roam-directory "~/nc/Roam")
|
(after! org
|
||||||
|
(setq org-roam-directory "~/nc/Roam"))
|
||||||
|
|
||||||
(use-package! password-store)
|
(use-package! password-store)
|
||||||
|
|
||||||
|
|
|
@ -517,16 +517,15 @@ Keybindings to open files that I work with all the time using the find-file comm
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* ORG MODE
|
* ORG MODE
|
||||||
I wrapped most of this block in (after! org). Without this, my settings might be evaluated too early, which will result in my settings being overwritten by Doom's defaults. I have also enabled org-journal by adding (+journal) to the org section of my Doom Emacs init.el.
|
I wrapped most of this block in (after! org). Without this, my settings might be evaluated too early, which will result in my settings being overwritten by Doom's defaults. I have also enabled org-bullets, org-journal and org-roam by adding (+journal +pretty +roam) to the org section of my Doom Emacs init.el.
|
||||||
|
|
||||||
=NOTE:= I have the location of my Org directory and Roam directory in $HOME/nc/ which is a Nextcloud folder that allows me to instantly sync all of my Org work between my home computer and my office computer.
|
=NOTE:= I have the location of my Org directory and Roam directory in $HOME/nc/ which is a Nextcloud folder that allows me to instantly sync all of my Org work between my home computer and my office computer.
|
||||||
|
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(map! :leader
|
(map! :leader
|
||||||
:desc "Org babel tangle" "m B" #'org-babel-tangle)
|
:desc "Org babel tangle" "m B" #'org-babel-tangle)
|
||||||
(after! org
|
(after! org
|
||||||
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))
|
;;(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))
|
||||||
(setq org-directory "~/nc/Org/"
|
(setq org-directory "~/nc/Org/"
|
||||||
org-agenda-files '("~/nc/Org/agenda.org")
|
org-agenda-files '("~/nc/Org/agenda.org")
|
||||||
org-default-notes-file (expand-file-name "notes.org" org-directory)
|
org-default-notes-file (expand-file-name "notes.org" org-directory)
|
||||||
|
@ -610,7 +609,8 @@ We need ox-man for "Org eXporting" to manpage format, ox-gemini for exporting to
|
||||||
| org-roam-dailies-find-yesterday | org roam dailies find yesterday | SPC n r d y |
|
| org-roam-dailies-find-yesterday | org roam dailies find yesterday | SPC n r d y |
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq org-roam-directory "~/nc/Roam")
|
(after! org
|
||||||
|
(setq org-roam-directory "~/nc/Roam"))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* PASSWORD STORE
|
* PASSWORD STORE
|
||||||
|
|
|
@ -146,7 +146,7 @@
|
||||||
;;nim ; python + lisp at the speed of c
|
;;nim ; python + lisp at the speed of c
|
||||||
;;nix ; I hereby declare "nix geht mehr!"
|
;;nix ; I hereby declare "nix geht mehr!"
|
||||||
;;ocaml ; an objective camel
|
;;ocaml ; an objective camel
|
||||||
(org +org-bullets +roam) ; organize your plain life in plain text
|
(org +journal +pretty +roam) ; organize your plain life in plain text
|
||||||
php ; perl's insecure younger brother
|
php ; perl's insecure younger brother
|
||||||
;;plantuml ; diagrams for confusing people more
|
;;plantuml ; diagrams for confusing people more
|
||||||
;;purescript ; javascript, but functional
|
;;purescript ; javascript, but functional
|
||||||
|
|
Loading…
Reference in New Issue