Re-added some templates.
This commit is contained in:
19
Emacs.org
19
Emacs.org
@@ -31,7 +31,6 @@ I need to test that I can remove this still.
|
||||
#+end_src
|
||||
|
||||
* General Configuration
|
||||
** User Interface
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
|
||||
@@ -53,7 +52,6 @@ I need to test that I can remove this still.
|
||||
* Theme Configuration
|
||||
|
||||
I am using [[https://protesilaos.com/modus-themes/][Modus Themes]], by [[https://protesilaos.com/][Protesilaos Stavrou]] as they are minimal, pleasant to the eye, and conform to accessibility standards as outlined in [[https://www.w3.org/WAI/WCAG2AAA-Conformance][WCAG AAA]].
|
||||
|
||||
** Modus Theme Configuration
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
@@ -90,8 +88,7 @@ Using [[https://github.com/tonsky/FiraCode][Fira Code]] + Fira Code Retina.
|
||||
|
||||
#+end_src
|
||||
|
||||
* Org Mode Configuration
|
||||
|
||||
** Org Mode Configuration
|
||||
** Set Fonts and Symbols
|
||||
Here we are setting general font configuration in order to make editing in org mode a bit more streamlined to look at.
|
||||
|
||||
@@ -227,7 +224,6 @@ Main Org/Agenda configuration.
|
||||
|
||||
#+end_src
|
||||
|
||||
|
||||
** Better Heading Bullets
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
@@ -288,7 +284,8 @@ Here we use a package called org-tempo.
|
||||
|
||||
(add-to-list 'org-structure-template-alist '("sh" . "src shell"))
|
||||
(add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp"))
|
||||
(add-to-list 'org-structure-template-alist '("py" . "src python")))
|
||||
(add-to-list 'org-structure-template-alist '("py" . "src python"))
|
||||
(add-to-list 'org-structure-template-alist '("yml" . "src yaml")))
|
||||
|
||||
#+end_src
|
||||
|
||||
@@ -327,9 +324,17 @@ Since we don't want to have to manually use the org-babel-tangle function everyt
|
||||
"%?"
|
||||
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
|
||||
:unnarrowed t)
|
||||
("r" "def+resources" plain
|
||||
("r" "resources" plain
|
||||
(file "~/roam/templates/resource-template.org")
|
||||
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
|
||||
:unnarrowed t)
|
||||
("f" "files" plain
|
||||
(file "~/roam/templates/res-file-note-temp.org")
|
||||
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
|
||||
:unnarrowed t)
|
||||
("c" "cli" plain
|
||||
(file "~/roam/templates/command-template.org")
|
||||
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
|
||||
:unnarrowed t)))
|
||||
:bind (("C-c n l" . org-roam-buffer-toggle)
|
||||
("C-c n f" . org-roam-node-find)
|
||||
|
||||
Reference in New Issue
Block a user