Compare commits
2 Commits
9ac4f2988b
...
a0aff6ce84
Author | SHA1 | Date | |
---|---|---|---|
a0aff6ce84 | |||
68bad990c0 |
22
config.org
22
config.org
@ -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,14 +448,7 @@ 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)
|
||||||
@ -473,6 +466,11 @@ 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
|
||||||
@ -759,6 +757,7 @@ 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]"
|
||||||
@ -771,6 +770,7 @@ 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,7 +785,8 @@ 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{times} "
|
\\usepackage[]{multicol}
|
||||||
|
\\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}")
|
||||||
@ -1121,6 +1122,7 @@ 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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user