teaking org capture
This commit is contained in:
parent
b8961adb01
commit
3e39c1ae13
15
README.org
15
README.org
|
@ -933,13 +933,13 @@ We also need to setup some capture templates to use some specific setups with my
|
||||||
org-roam-db-location "~/.dotemacs/org-roam.db"
|
org-roam-db-location "~/.dotemacs/org-roam.db"
|
||||||
org-roam-completion-everywhere t
|
org-roam-completion-everywhere t
|
||||||
org-roam-capture-templates
|
org-roam-capture-templates
|
||||||
'(("d" "default" plain "%?"
|
'(("d" "default" entry "\n* %?"
|
||||||
:if-new (file+head "${slug}.org"
|
:if-new (file+head "${slug}.org"
|
||||||
"#+TITLE: ${title}\n#+AUTHOR: Chris Cochrun\n#+CREATED: %<%D - %I:%M %p>\n\n * %?")
|
"#+TITLE: ${title}\n#+AUTHOR: Chris Cochrun\n#+CREATED: %<%D - %I:%M %p>\n\n")
|
||||||
:unnarrowed t)
|
:unnarrowed t)
|
||||||
("b" "bible" plain "%?"
|
("b" "bible" entry "\n* %?"
|
||||||
:if-new (file+head "${slug}.org"
|
:if-new (file+head "${slug}.org"
|
||||||
"#+TITLE: ${title}\n#+AUTHOR: Chris Cochrun\n#+CREATED: %<%D - %I:%M %p>\n- tags %^G\n\n* %?")
|
"#+TITLE: ${title}\n#+AUTHOR: Chris Cochrun\n#+CREATED: %<%D - %I:%M %p>\n- tags :biblestudy:%^G\n\n")
|
||||||
:unnarrowed t)
|
:unnarrowed t)
|
||||||
("l" "TFC Lesson" plain (file ".templates/lessontemplate.org")
|
("l" "TFC Lesson" plain (file ".templates/lessontemplate.org")
|
||||||
:if-new (file+head "lessons/${slug}.org"
|
:if-new (file+head "lessons/${slug}.org"
|
||||||
|
@ -2959,7 +2959,8 @@ Let's add our own eshell prompt. and set the password cache to a significantly h
|
||||||
("myip" "curl icanhazip.com")
|
("myip" "curl icanhazip.com")
|
||||||
("ytd" "yt-dlp -o ~/Videos/%(title)s.%(ext)s")
|
("ytd" "yt-dlp -o ~/Videos/%(title)s.%(ext)s")
|
||||||
("nupg" "upgrade-nix")
|
("nupg" "upgrade-nix")
|
||||||
("nupd" "update-nix")))
|
("nupd" "update-nix")
|
||||||
|
("ws" "rsync -avzP public/ chris@staff.tfcconnection.org:tfcconnection")))
|
||||||
|
|
||||||
(defun chris/eshell-new()
|
(defun chris/eshell-new()
|
||||||
"Open a new eshell buffer"
|
"Open a new eshell buffer"
|
||||||
|
@ -3393,9 +3394,11 @@ I like to keep my passwords in password-store for a very unixy way of doing thin
|
||||||
** Matrix/Ement
|
** Matrix/Ement
|
||||||
Matrix.el is a decent enough matrix client built in emacs. Like it.
|
Matrix.el is a decent enough matrix client built in emacs. Like it.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package plz)
|
(use-package plz
|
||||||
|
:ensure t)
|
||||||
|
|
||||||
(use-package ement
|
(use-package ement
|
||||||
|
:ensure t
|
||||||
:config
|
:config
|
||||||
(setq ement-room-images t
|
(setq ement-room-images t
|
||||||
ement-save-sessions t)
|
ement-save-sessions t)
|
||||||
|
|
34
init.el
34
init.el
|
@ -639,13 +639,13 @@
|
||||||
org-roam-db-location "~/.dotemacs/org-roam.db"
|
org-roam-db-location "~/.dotemacs/org-roam.db"
|
||||||
org-roam-completion-everywhere t
|
org-roam-completion-everywhere t
|
||||||
org-roam-capture-templates
|
org-roam-capture-templates
|
||||||
'(("d" "default" plain "%?"
|
'(("d" "default" entry "\n* %?"
|
||||||
:if-new (file+head "${slug}.org"
|
:if-new (file+head "${slug}.org"
|
||||||
"#+TITLE: ${title}\n#+AUTHOR: Chris Cochrun\n#+CREATED: %<%D - %I:%M %p>\n\n * %?")
|
"#+TITLE: ${title}\n#+AUTHOR: Chris Cochrun\n#+CREATED: %<%D - %I:%M %p>\n\n")
|
||||||
:unnarrowed t)
|
:unnarrowed t)
|
||||||
("b" "bible" plain "%?"
|
("b" "bible" entry "\n* %?"
|
||||||
:if-new (file+head "${slug}.org"
|
:if-new (file+head "${slug}.org"
|
||||||
"#+TITLE: ${title}\n#+AUTHOR: Chris Cochrun\n#+CREATED: %<%D - %I:%M %p>\n- tags %^G\n\n* %?")
|
"#+TITLE: ${title}\n#+AUTHOR: Chris Cochrun\n#+CREATED: %<%D - %I:%M %p>\n- tags :biblestudy:%^G\n\n")
|
||||||
:unnarrowed t)
|
:unnarrowed t)
|
||||||
("l" "TFC Lesson" plain (file ".templates/lessontemplate.org")
|
("l" "TFC Lesson" plain (file ".templates/lessontemplate.org")
|
||||||
:if-new (file+head "lessons/${slug}.org"
|
:if-new (file+head "lessons/${slug}.org"
|
||||||
|
@ -2068,7 +2068,8 @@ targets."
|
||||||
("myip" "curl icanhazip.com")
|
("myip" "curl icanhazip.com")
|
||||||
("ytd" "yt-dlp -o ~/Videos/%(title)s.%(ext)s")
|
("ytd" "yt-dlp -o ~/Videos/%(title)s.%(ext)s")
|
||||||
("nupg" "upgrade-nix")
|
("nupg" "upgrade-nix")
|
||||||
("nupd" "update-nix")))
|
("nupd" "update-nix")
|
||||||
|
("ws" "rsync -avzP public/ chris@staff.tfcconnection.org:tfcconnection")))
|
||||||
|
|
||||||
(defun chris/eshell-new()
|
(defun chris/eshell-new()
|
||||||
"Open a new eshell buffer"
|
"Open a new eshell buffer"
|
||||||
|
@ -2439,9 +2440,11 @@ interfere with the default `bongo-playlist-buffer'."
|
||||||
(chris/leader-keys
|
(chris/leader-keys
|
||||||
"st" 'password-store-otp-token-copy))
|
"st" 'password-store-otp-token-copy))
|
||||||
|
|
||||||
(use-package plz)
|
(use-package plz
|
||||||
|
:ensure t)
|
||||||
|
|
||||||
(use-package ement
|
(use-package ement
|
||||||
|
:ensure t
|
||||||
:config
|
:config
|
||||||
(setq ement-room-images t
|
(setq ement-room-images t
|
||||||
ement-save-sessions t)
|
ement-save-sessions t)
|
||||||
|
@ -2517,3 +2520,22 @@ interfere with the default `bongo-playlist-buffer'."
|
||||||
gcmh-verbose nil))
|
gcmh-verbose nil))
|
||||||
|
|
||||||
(setq warning-suppress-types '((comp)))
|
(setq warning-suppress-types '((comp)))
|
||||||
|
(custom-set-variables
|
||||||
|
;; custom-set-variables was added by Custom.
|
||||||
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
;; Your init file should contain only one such instance.
|
||||||
|
;; If there is more than one, they won't work right.
|
||||||
|
'(package-selected-packages
|
||||||
|
'(ement vterm magit pdf-tools consult-eglot command-log-mode doom-modeline doom-themes rainbow-delimiters smartparens aggressive-indent adaptive-wrap which-key exec-path-from-shell no-littering tree-sitter-langs rustic evil-collection general evil-escape evil-surround evil-org org-super-agenda org-roam-ui org-present org-modern org-re-reveal-ref org-re-reveal-citeproc ox-reveal oer-reveal ox-spectacle unicode-fonts emojify undo-tree visual-fill-column toc-org pulsar vertico marginalia all-the-icons-completion embark-consult corfu orderless cape devdocs yasnippet tempel projectile evil-avy ace-link ace-window helpful format-all web-mode lua-mode nix-mode cmake-mode fennel-mode yaml-mode docker docker-tramp fish-mode qml-mode csv-mode ob-restclient dart-mode flutter hover direnv all-the-icons-dired dired-single dired-rainbow diredfl dired-rsync fd-dired ledger-mode org-msg calfw calfw-org calfw-ical org-caldav org-wild-notifier sly nov elfeed-org bongo emms transmission hass pass plz taxy-magit-section svg-lib mastodon qrencode gcmh use-package esh-autosuggest))
|
||||||
|
'(pdf-misc-print-program "/usr/bin/lpr")
|
||||||
|
'(pdf-misc-print-program-args '("-o media=Letter" "-o fitplot"))
|
||||||
|
'(safe-local-variable-values
|
||||||
|
'((eval setq truncate-lines t)
|
||||||
|
(eval setq visual-fill-column-mode nil)
|
||||||
|
(eval toggle-truncate-lines nil))))
|
||||||
|
(custom-set-faces
|
||||||
|
;; custom-set-faces was added by Custom.
|
||||||
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
;; Your init file should contain only one such instance.
|
||||||
|
;; If there is more than one, they won't work right.
|
||||||
|
'(org-modern-tag ((t :background "#9aedfe" :foreground "#282a36"))))
|
||||||
|
|
Loading…
Reference in a new issue