From 3e39c1ae13c3ebcf5b83e9fd562d8fc20ddb1620 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 10 Jan 2023 09:40:11 -0600 Subject: [PATCH] teaking org capture --- README.org | 15 +++++++++------ init.el | 34 ++++++++++++++++++++++++++++------ recentf | 2 +- 3 files changed, 38 insertions(+), 13 deletions(-) diff --git a/README.org b/README.org index 9bfaebd0..f9e73c2d 100644 --- a/README.org +++ b/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-completion-everywhere t org-roam-capture-templates - '(("d" "default" plain "%?" + '(("d" "default" entry "\n* %?" :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) - ("b" "bible" plain "%?" + ("b" "bible" entry "\n* %?" :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) ("l" "TFC Lesson" plain (file ".templates/lessontemplate.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") ("ytd" "yt-dlp -o ~/Videos/%(title)s.%(ext)s") ("nupg" "upgrade-nix") - ("nupd" "update-nix"))) + ("nupd" "update-nix") + ("ws" "rsync -avzP public/ chris@staff.tfcconnection.org:tfcconnection"))) (defun chris/eshell-new() "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.el is a decent enough matrix client built in emacs. Like it. #+begin_src emacs-lisp -(use-package plz) +(use-package plz + :ensure t) (use-package ement + :ensure t :config (setq ement-room-images t ement-save-sessions t) diff --git a/init.el b/init.el index b5a15a2f..cb2611cd 100644 --- a/init.el +++ b/init.el @@ -639,13 +639,13 @@ org-roam-db-location "~/.dotemacs/org-roam.db" org-roam-completion-everywhere t org-roam-capture-templates - '(("d" "default" plain "%?" + '(("d" "default" entry "\n* %?" :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) - ("b" "bible" plain "%?" + ("b" "bible" entry "\n* %?" :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) ("l" "TFC Lesson" plain (file ".templates/lessontemplate.org") :if-new (file+head "lessons/${slug}.org" @@ -2068,7 +2068,8 @@ targets." ("myip" "curl icanhazip.com") ("ytd" "yt-dlp -o ~/Videos/%(title)s.%(ext)s") ("nupg" "upgrade-nix") - ("nupd" "update-nix"))) + ("nupd" "update-nix") + ("ws" "rsync -avzP public/ chris@staff.tfcconnection.org:tfcconnection"))) (defun chris/eshell-new() "Open a new eshell buffer" @@ -2439,9 +2440,11 @@ interfere with the default `bongo-playlist-buffer'." (chris/leader-keys "st" 'password-store-otp-token-copy)) -(use-package plz) +(use-package plz + :ensure t) (use-package ement + :ensure t :config (setq ement-room-images t ement-save-sessions t) @@ -2517,3 +2520,22 @@ interfere with the default `bongo-playlist-buffer'." gcmh-verbose nil)) (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")))) diff --git a/recentf b/recentf index ae1eaaaf..aa1e97ab 100644 --- a/recentf +++ b/recentf @@ -1,4 +1,4 @@ -;;; Automatically generated by ‘recentf’ on Tue Dec 27 13:50:31 2022. +;;; Automatically generated by ‘recentf’ on Mon Jan 9 08:57:41 2023. (setq recentf-list 'nil)