Compare commits

..

No commits in common. "a0aff6ce848eafbcbe5ba075e8d1f2791668169b" and "9ac4f2988bb1315a7c8265118d1f9eeea205b96a" have entirely different histories.

View File

@ -333,11 +333,11 @@ If nil it defaults to `split-string-default-separators', normally
(setq org-log-done 'time) (setq org-log-done 'time)
(after! org-mode (after! org-mode
(setq org-log-done 'time) (setq org-log-done 'time)
(setq org-archive-location "~/org/archive.org")
(add-to-list 'org-tags-exclude-from-inheritance "hastodos") (add-to-list 'org-tags-exclude-from-inheritance "hastodos")
(setq org-hide-emphasis-markers nil)) (setq org-hide-emphasis-markers nil))
(setq org-directory "~/org/") (setq org-directory "~/org/")
(setq org-roam-directory org-directory) (setq org-roam-directory org-directory)
#+end_src #+end_src
** Appearances ** Appearances
@ -448,7 +448,14 @@ Edna allows better dependency handling for todos and the like.
#+end_src #+end_src
** Org-archive with structure
Many thanks to Mark Edigmar's [[https://gist.github.com/edgimar/072d99d8650abe81a9fe7c8687c0c993][Gist]]
*** Keymaps
#+begin_src emacs-lisp
(map! :leader
:desc "Archive subtree"
:n "m A" #'org-archive-subtree-default)
#+end_src
** Anki editing in org-mode ** Anki editing in org-mode
#+begin_src emacs-lisp :tangle packages.el #+begin_src emacs-lisp :tangle packages.el
(package! anki-editor) (package! anki-editor)
@ -466,11 +473,6 @@ I need to make sure some different files work with
(add-to-list 'editorconfig-mode-alist (add-to-list 'editorconfig-mode-alist
'(cpp-mode . "cpp"))) '(cpp-mode . "cpp")))
#+end_src #+end_src
** LSP
In order for editorconfig to do its thing, indentation by the lsp must be disabled.
#+begin_src emacs-lisp
(setq lsp-enable-indentation nil)
#+end_src emacs-lisp
* Website * Website
@ -757,7 +759,6 @@ Let's use a package or two to set a decent document class:
(add-to-list 'org-latex-classes (add-to-list 'org-latex-classes
'("student-apa7" '("student-apa7"
"\\documentclass[stu]{apa7} "\\documentclass[stu]{apa7}
\\usepackage[]{multicol}
\\usepackage{mathptmx} \\usepackage{mathptmx}
[NO-DEFAULT-PACKAGES] [NO-DEFAULT-PACKAGES]
[NO-PACKAGES]" [NO-PACKAGES]"
@ -770,7 +771,6 @@ Let's use a package or two to set a decent document class:
(add-to-list 'org-latex-classes (add-to-list 'org-latex-classes
'("student-turabian" '("student-turabian"
"\\documentclass{turabian-researchpaper} "\\documentclass{turabian-researchpaper}
\\usepackage[]{multicol}
\\usepackage{mathptmx} \\usepackage{mathptmx}
[NO-PACKAGES] [NO-PACKAGES]
" "
@ -785,8 +785,7 @@ Let's use a package or two to set a decent document class:
'("student-mla" '("student-mla"
"\\documentclass[stu]{mla} "\\documentclass[stu]{mla}
\\hypersetup{hidelinks} \\hypersetup{hidelinks}
\\usepackage[]{multicol} \\usepackage{times} "
\\usepackage{mathptmx} "
("\\section{%s}" . "\\section*{%s}") ("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
@ -1122,7 +1121,6 @@ We need to bring in the correct SSH agent values, so that Emacs is aware of wher
#+begin_src emacs-lisp #+begin_src emacs-lisp
(add-to-list 'org-tags-exclude-from-inheritance "hastodos") (add-to-list 'org-tags-exclude-from-inheritance "hastodos")
(add-to-list 'org-tags-exclude-from-inheritance "ignore")
#+end_src #+end_src