Neu: org-Templates

This commit is contained in:
hansi
2026-04-08 07:11:17 +02:00
parent ac89ecc2df
commit 312add83fa
11 changed files with 132 additions and 12 deletions

3
.gitignore vendored
View File

@@ -8,4 +8,5 @@ url/
recentf
places
.#*
#*#
#*#
*.db

2
.org-id-locations Normal file
View File

@@ -0,0 +1,2 @@
(("~/org/notes/neuer_neuer_test.org" "c1f0c054-6a3b-48e9-8f63-61c1061fa080") ("~/org/notes/neuer_test.org" "e136ede2-6fe1-48d9-9b43-dcbdb6e1c925"))

View File

@@ -3,9 +3,9 @@
;;; nevertheless, you probably don't want to edit it.
;;; -*- End Of Bookmark File Format Version Stamp -*-
(("org-capture-last-stored"
(filename . "~/org/docs/umsatz.org")
(front-context-string . "#+title: umsatz\n")
(rear-context-string)
(position . 1)
(last-modified 27091 40363 706421 401000))
(filename . "~/org/notes/neuer_test.org")
(front-context-string)
(rear-context-string . "category: Notes\n")
(position . 106)
(last-modified 27091 63383 132609 836000))
)

View File

@@ -5,14 +5,15 @@
(setq custom-file "~/.emacs.d/custom.el")
(load custom-file 'noerror 'nomessage)
(require 'init-keybindings)
(require 'init-packages)
(require 'init-keybindings)
(require 'init-ui)
(require 'init-org)
(require 'init-markdown)
(require 'init-search)
(require 'init-capture)
(require 'init-org-r)

View File

@@ -6,5 +6,12 @@
(global-set-key (kbd "C-c k") #'my/org-capture-new-kpi)
(global-set-key (kbd "C-c n") #'my/org-capture-new-note)
;; org-roam-keybindings
(global-set-key (kbd "C-c r f") #'org-roam-node-find)
(global-set-key (kbd "C-c r i") #'org-roam-node-insert)
(global-set-key (kbd "C-c r b") #'org-roam-buffer-toggle)
(provide 'init-keybindings)
;;; init-keybindings.el ends here

23
lisp/init-org-r.el Normal file
View File

@@ -0,0 +1,23 @@
(require 'org-roam)
(setq org-roam-directory (file-truename "~/org"))
(org-roam-db-autosync-mode)
(setq org-roam-capture-templates
'(("d" "default" plain
"%?"
:if-new (file+head
"docs/${slug}.org"
"#+title: ${title}\n#+category: Docs\n")
:unnarrowed t)
("n" "note" plain
"%?"
:if-new (file+head
"notes/${slug}.org"
"#+title: ${title}\n#+category: Notes\n")
:unnarrowed t)))
(provide 'init-org-r)

View File

@@ -10,13 +10,14 @@
(unless package-archive-contents
(package-refresh-contents))
(dolist (package '(doom-themes
(dolist (pkg '(doom-themes
markdown-mode
vertico
consult
orderless
marginalia))
(unless (package-installed-p package)
(package-install package)))
marginalia
org-roam))
(unless (package-installed-p pkg)
(package-install pkg)))
(provide 'init-packages)

View File

@@ -0,0 +1,29 @@
:PROPERTIES:
:ID: %(my/org-new-id)
:ART: Kpi-Steckbrief
:VERANTWORTLICH: %^{Verantwortlicher}
:BEREICH: %^{Bereich}
:LAYER: strategisch, taktisch, operativ
:END:
#+title: %(or my/org-capture-title"")
* Name
* Ziel / Zweck
* Definition
* Formel
* Inhalt / Abgrenzung
* Detaildefinitionen / Besonderheiten
* Wirkzusammenhang und Nebenbedingungen
* Guardrail-KPIs (Leitplanken -> Schutzfunktion)
* Contraint-KPIs (Restriktionen -> )

Binary file not shown.

View File

@@ -0,0 +1,55 @@
% Created 2026-04-06 Mo 21:40
% Intended LaTeX compiler: pdflatex
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{capt-of}
\usepackage{hyperref}
\date{\today}
\title{\%(or my/org-capture-title"")}
\hypersetup{
pdfauthor={},
pdftitle={\%(or my/org-capture-title"")},
pdfkeywords={},
pdfsubject={},
pdfcreator={Emacs 30.2 (Org mode 9.7.11)},
pdflang={English}}
\begin{document}
\maketitle
\tableofcontents
\section{Name}
\label{sec:org3887b4b}
\section{Ziel / Zweck}
\label{sec:org88753ba}
\section{Definition}
\label{sec:orga243ffc}
\section{Formel}
\label{sec:orgc2995c4}
\section{Inhalt / Abgrenzung}
\label{sec:orgd457ad1}
\section{Detaildefinitionen / Besonderheiten}
\label{sec:orgb35097d}
\section{Wirkzusammenhang und Nebenbedingungen}
\label{sec:org90a57fc}
\section{Guardrail-KPIs (Leitplanken -> Schutzfunktion)}
\label{sec:orgadbf801}
\section{Contraint-KPIs (Restriktionen -> )}
\label{sec:orga5afd81}
\end{document}

1
transient/history.el Normal file
View File

@@ -0,0 +1 @@
nil