Added org roam templates
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>clean_emacs
parent
fef8f0852c
commit
d41cfc85ff
|
@ -1,7 +1,7 @@
|
||||||
u:/home/tuan/Documents/Uni/Studium/2022&2023_Wintersemester
|
u:/home/tuan/Documents/Uni/Studium
|
||||||
p:/home/tuan/Documents/Protokolle/FSE
|
p:/home/tuan/Documents/Protokolle/FSE
|
||||||
o:/home/tuan/.dotfiles/config
|
o:/home/tuan/.dotfiles/config
|
||||||
m:/run/media/tuan/ARCH_202112
|
m:/run/media/tuan
|
||||||
a:/home/tuan/Documents/Arbeit/Uni-DuE_NCS_SHK
|
a:/home/tuan/Documents/Arbeit/Uni-DuE_NCS_SHK
|
||||||
l:/home/tuan/Local
|
l:/home/tuan/Local
|
||||||
c:/home/tuan/Documents/CTF
|
c:/home/tuan/Documents/CTF
|
||||||
|
@ -9,9 +9,10 @@ t:/home/tuan/Templates
|
||||||
w:/home/tuan/workspace_l/home_lab/wiki
|
w:/home/tuan/workspace_l/home_lab/wiki
|
||||||
k:/home/tuan/.syncthing/Documents/Uni/Studium/2022_Sommersemester/Bachelorprojekt/Implement EFCF based on libAFL/git/foundry/evm/src/executor
|
k:/home/tuan/.syncthing/Documents/Uni/Studium/2022_Sommersemester/Bachelorprojekt/Implement EFCF based on libAFL/git/foundry/evm/src/executor
|
||||||
q:/home/tuan/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/04-5G_IANA/02-gps
|
q:/home/tuan/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/04-5G_IANA/02-gps
|
||||||
':/home/tuan/Documents/roam
|
':/home/tuan/workspace_l/home_lab/ansible
|
||||||
e:/home/tuan/Documents/CTF/TryHackMe/Ice/2_Recon
|
e:/home/tuan/Documents/CTF/TryHackMe/Ice/2_Recon
|
||||||
s:/home/tuan/Pictures/Screenshots
|
s:/home/tuan/Pictures/Screenshots
|
||||||
v:/home/tuan/.aya01/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/06-Server_Setup/ansible
|
v:/home/tuan/.aya01/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/06-Server_Setup/ansible
|
||||||
f:/home/tuan/Documents/Finanzen/Unternehmen/Rechnungen
|
f:/home/tuan/Documents/Finanzen/Unternehmen/Rechnungen
|
||||||
g:/home/tuan/workspace_l/home_lab
|
g:/home/tuan/workspace_l/home_lab
|
||||||
|
r:/home/tuan/Documents/roam
|
||||||
|
|
|
@ -129,3 +129,17 @@
|
||||||
|
|
||||||
; Roam
|
; Roam
|
||||||
(setq org-roam-directory "~/Documents/roam/")
|
(setq org-roam-directory "~/Documents/roam/")
|
||||||
|
(use-package! websocket
|
||||||
|
:after org-roam)
|
||||||
|
|
||||||
|
(use-package! org-roam-ui
|
||||||
|
:after org-roam ;; or :after org
|
||||||
|
;; normally we'd recommend hooking orui after org-roam, but since org-roam does not have
|
||||||
|
;; a hookable mode anymore, you're advised to pick something yourself
|
||||||
|
;; if you don't care about startup time, use
|
||||||
|
;; :hook (after-init . org-roam-ui-mode)
|
||||||
|
:config
|
||||||
|
(setq org-roam-ui-sync-theme t
|
||||||
|
org-roam-ui-follow t
|
||||||
|
org-roam-ui-update-on-save t
|
||||||
|
org-roam-ui-open-on-start t))
|
||||||
|
|
|
@ -3,7 +3,16 @@
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
'(warning-suppress-types '((org-element-cache) (defvaralias))))
|
'(org-roam-capture-templates
|
||||||
|
'(("d" "default" plain "%?" :target
|
||||||
|
(file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}")
|
||||||
|
:unnarrowed t)
|
||||||
|
("p" "project" plain "* Project Description\n\n- Type: %^{Project Type}\n- Project Partner: %?\n\n* Tasks\n\n** TODO Add initial taks\n\n* Deadlines\n" :target
|
||||||
|
(file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}")
|
||||||
|
:unnarrowed t)
|
||||||
|
("l" "lecture" plain "- Lecture: ${title}\\n\\n- Lecturer: %^{Docent}\\n- Research Group: %^{Research Group}\\n* Description\\n\\n " :target
|
||||||
|
(file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}")
|
||||||
|
:unnarrowed t nil nil))))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
|
|
@ -54,3 +54,6 @@
|
||||||
(package! lsp-ui)
|
(package! lsp-ui)
|
||||||
(package! flycheck)
|
(package! flycheck)
|
||||||
(package! ledger-mode)
|
(package! ledger-mode)
|
||||||
|
|
||||||
|
(unpin! org-roam)
|
||||||
|
(package! org-roam-ui)
|
||||||
|
|
|
@ -36,7 +36,7 @@ alias tvres="xrandr --output HDMI1 --transform 1.02,0,-20,0,1.02,-10,0,0,1"
|
||||||
alias defaultres="xrandr --output HDMI1 --transform 1.00,0,0,0,1.00,0,0,0,1"
|
alias defaultres="xrandr --output HDMI1 --transform 1.00,0,0,0,1.00,0,0,0,1"
|
||||||
alias zshconfig="e ~/.zshrc; source ~/.zshrc;"
|
alias zshconfig="e ~/.zshrc; source ~/.zshrc;"
|
||||||
alias notify="dunstify \"ping~\""
|
alias notify="dunstify \"ping~\""
|
||||||
alias ekill="e -e \"(kill-emacs)\"; ed"
|
alias ekill="pkill emacs; pkill emacsclient; ed"
|
||||||
alias latexmk="latexmk -f -pdf -interaction=nonstopmode"
|
alias latexmk="latexmk -f -pdf -interaction=nonstopmode"
|
||||||
alias picotik="picocom --b 115200 /dev/ttyUSB0"
|
alias picotik="picocom --b 115200 /dev/ttyUSB0"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue