feat[editorconfig]: Updated editorconfig list
packate[heatmap]: Removed org-heatmap feat[latex]: Updated turabian template to function
This commit is contained in:
parent
a5cf5c4689
commit
9ac4f2988b
36
config.org
36
config.org
@ -394,9 +394,11 @@ We want to show images when loading a file, and also after evaluating code block
|
|||||||
*** Org-agenda deadlines
|
*** Org-agenda deadlines
|
||||||
I don't like agenda nagging me about upcoming events.
|
I don't like agenda nagging me about upcoming events.
|
||||||
It causes a lot of duplication!
|
It causes a lot of duplication!
|
||||||
|
#+begin_comment
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq org-deadline-warning-days 0)
|
(setq org-deadline-warning-days 0)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
#+end_comment
|
||||||
Turn it off with this snippet.
|
Turn it off with this snippet.
|
||||||
** Org-drill
|
** Org-drill
|
||||||
Set some good keybinds for quick access:
|
Set some good keybinds for quick access:
|
||||||
@ -435,11 +437,6 @@ Edna allows better dependency handling for todos and the like.
|
|||||||
(org-edna-mode)
|
(org-edna-mode)
|
||||||
#+end_src
|
#+end_src
|
||||||
** Org-habit
|
** Org-habit
|
||||||
#+begin_src emacs-lisp :tangle "packages.el"
|
|
||||||
(package! org-heatmap
|
|
||||||
:recipe (:host github :type git :repo "aspiers/org-heatmap"))
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
||||||
(use-package org-habit
|
(use-package org-habit
|
||||||
@ -449,10 +446,6 @@ Edna allows better dependency handling for todos and the like.
|
|||||||
(org-habit-following-days 1)
|
(org-habit-following-days 1)
|
||||||
(org-habit-show-habits-only-for-today nil))
|
(org-habit-show-habits-only-for-today nil))
|
||||||
|
|
||||||
(use-package! org-heatmap
|
|
||||||
:after (org)
|
|
||||||
:config
|
|
||||||
(org-heatmap-mode))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Org-archive with structure
|
** Org-archive with structure
|
||||||
@ -472,6 +465,15 @@ Many thanks to Mark Edigmar's [[https://gist.github.com/edgimar/072d99d8650abe81
|
|||||||
(package! calfw
|
(package! calfw
|
||||||
:recipe (:host github :type git :repo "haji-ali/emacs-calfw"))
|
:recipe (:host github :type git :repo "haji-ali/emacs-calfw"))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
* Programming Items
|
||||||
|
** Editorconfig
|
||||||
|
I need to make sure some different files work with
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(after! editorconfig-mode
|
||||||
|
(add-to-list 'editorconfig-mode-alist
|
||||||
|
'(cpp-mode . "cpp")))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
* Website
|
* Website
|
||||||
** Capture template
|
** Capture template
|
||||||
@ -757,8 +759,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}
|
||||||
\\hypersetup{hidelinks}
|
\\usepackage{mathptmx}
|
||||||
\\usepackage{times}
|
|
||||||
[NO-DEFAULT-PACKAGES]
|
[NO-DEFAULT-PACKAGES]
|
||||||
[NO-PACKAGES]"
|
[NO-PACKAGES]"
|
||||||
("\\section{%s}" . "\\section*{%s}")
|
("\\section{%s}" . "\\section*{%s}")
|
||||||
@ -770,9 +771,9 @@ 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{times}
|
\\usepackage{mathptmx}
|
||||||
[NO-DEFAULT-PACKAGES]
|
[NO-PACKAGES]
|
||||||
[NO-PACKAGES]"
|
"
|
||||||
("\\section{%s}" . "\\section*{%s}")
|
("\\section{%s}" . "\\section*{%s}")
|
||||||
("\\subsection{%s}" . "\\subsection*{%s}")
|
("\\subsection{%s}" . "\\subsection*{%s}")
|
||||||
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
|
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
|
||||||
@ -827,7 +828,7 @@ Org-roam enables features essential to a Zettelkasten such as inter-ID linking.
|
|||||||
:target (file+head "%<%Y%m%d-%H%M%S>.org"
|
:target (file+head "%<%Y%m%d-%H%M%S>.org"
|
||||||
"#+TITLE: ${title}
|
"#+TITLE: ${title}
|
||||||
,#+LATEX_CLASS: student-apa7
|
,#+LATEX_CLASS: student-apa7
|
||||||
,#+LATEX_OPTIONS: stu,hidelinks
|
,#+LATEX_OPTIONS: stu
|
||||||
,#+LATEX_HEADER: \\course{}
|
,#+LATEX_HEADER: \\course{}
|
||||||
,#+LATEX_HEADER:\\authorsnames{Judah Sotomayor}
|
,#+LATEX_HEADER:\\authorsnames{Judah Sotomayor}
|
||||||
,#+LATEX_HEADER: \\authorsaffiliations{}
|
,#+LATEX_HEADER: \\authorsaffiliations{}
|
||||||
@ -1205,12 +1206,9 @@ set palette defined ( 0 '%s',\
|
|||||||
(defun +org-plot-gnuplot-term-properties (_type)
|
(defun +org-plot-gnuplot-term-properties (_type)
|
||||||
(format "background rgb '%s' size %s,%s"
|
(format "background rgb '%s' size %s,%s"
|
||||||
(doom-color 'bg) (car +org-plot-term-size) (cdr +org-plot-term-size)))
|
(doom-color 'bg) (car +org-plot-term-size) (cdr +org-plot-term-size)))
|
||||||
#+end_src
|
|
||||||
|
|
||||||
Now use the preamble we created:
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(setq org-plot/gnuplot-script-preamble #'+org-plot-generate-theme)
|
(setq org-plot/gnuplot-script-preamble #'+org-plot-generate-theme)
|
||||||
(setq org-plot/gnuplot-term-extra #'+org-plot-gnuplot-term-properties))
|
(setq org-plot/gnuplot-term-extra #'+org-plot-gnuplot-term-properties))
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Mermaid.js
|
** Mermaid.js
|
||||||
|
Loading…
Reference in New Issue
Block a user