From c07c49333817bedb77308ba7af747708eae4202f Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Mon, 21 Aug 2023 10:07:42 -0500 Subject: [PATCH] updates --- README.org | 12 ++++++++---- init.el | 12 ++++++++---- recentf | 2 +- templates | 9 +++++++++ 4 files changed, 26 insertions(+), 9 deletions(-) diff --git a/README.org b/README.org index 974b750c..738d8743 100644 --- a/README.org +++ b/README.org @@ -184,9 +184,9 @@ Also, real quick let's make sure that ~~ works as the same as ~~ Let's also turn on =recentf-mode=. #+begin_src emacs-lisp (recentf-mode +1) -(savehist-mode +1) -(add-to-list 'savehist-additional-variables 'register-alist) -(add-to-list 'savehist-additional-variables kill-ring) +;; (savehist-mode +1) +;; (add-to-list 'savehist-additional-variables 'register-alist) +;; (add-to-list 'savehist-additional-variables kill-ring) #+end_src Finally this is not part of the UI but let's do this early and start the server so I can use emacsclient from my WM. @@ -834,7 +834,7 @@ Part of this config includes some special capture templates for my work as a you "/home/chris/org/newsletter.org" "/home/chris/org/archive.org" "/home/chris/org/nvtfc_social_media.org" - "/home/chris/dev/church-presenter/TODO.org" + "/home/chris/dev/lumina/TODO.org" "/home/chris/dev/tfcconnection/TODO.org" "/home/chris/org/lessons/" "/home/chris/org/dailies/") @@ -2478,6 +2478,9 @@ Tempel is another templating system. Also perhaps even more powerful with it's e :general (chris/leader-keys "ic" 'tempel-insert) + (general-def 'insert tempel-map + "C-l" 'tempel-next + "C-h" 'tempel-previous) ) #+END_SRC @@ -4277,6 +4280,7 @@ Matrix.el is a decent enough matrix client built in emacs. Like it. "R" 'ement-room-send-reaction) (chris/leader-keys "oM" 'ement-list-rooms)) +(ement-connect :uri-prefix "http://localhost:8008") #+end_src ** Mastodon diff --git a/init.el b/init.el index 564c5343..9e48c494 100644 --- a/init.el +++ b/init.el @@ -82,9 +82,9 @@ (global-set-key (kbd "") 'keyboard-escape-quit) (recentf-mode +1) -(savehist-mode +1) -(add-to-list 'savehist-additional-variables 'register-alist) -(add-to-list 'savehist-additional-variables kill-ring) +;; (savehist-mode +1) +;; (add-to-list 'savehist-additional-variables 'register-alist) +;; (add-to-list 'savehist-additional-variables kill-ring) (add-to-list 'exec-path "/home/chris/bin") @@ -565,7 +565,7 @@ much faster. The hope is to also make this a faster version of imenu." "/home/chris/org/newsletter.org" "/home/chris/org/archive.org" "/home/chris/org/nvtfc_social_media.org" - "/home/chris/dev/church-presenter/TODO.org" + "/home/chris/dev/lumina/TODO.org" "/home/chris/dev/tfcconnection/TODO.org" "/home/chris/org/lessons/" "/home/chris/org/dailies/") @@ -1831,6 +1831,9 @@ targets." :general (chris/leader-keys "ic" 'tempel-insert) + (general-def 'insert tempel-map + "C-l" 'tempel-next + "C-h" 'tempel-previous) ) (use-package projectile @@ -3154,6 +3157,7 @@ interfere with the default `bongo-playlist-buffer'." "R" 'ement-room-send-reaction) (chris/leader-keys "oM" 'ement-list-rooms)) +(ement-connect :uri-prefix "http://localhost:8008") (use-package mastodon :config diff --git a/recentf b/recentf index af07046d..b657e935 100644 --- a/recentf +++ b/recentf @@ -1,4 +1,4 @@ -;;; Automatically generated by ‘recentf’ on Mon Jul 31 16:20:57 2023. +;;; Automatically generated by ‘recentf’ on Tue Aug 15 12:25:24 2023. (setq recentf-list '( diff --git a/templates b/templates index bbaadc4c..2e4da009 100644 --- a/templates +++ b/templates @@ -85,6 +85,15 @@ org-mode :post (progn (tempel-done) (org-edit-src-code))) (nix "#+begin_src nix" n> r> n "#+end_src" :post (progn (tempel-done) (org-edit-src-code))) +(hc "#+TITLE: " p n "#+DATE: " (p (format-time-string "%Y-%m-%d")) n "#+tags[]: " p n "#+featured_image: \"featured.jpg\"" n "#+description: " p n "#+summary: " p n "#+showAuthor: false +#+showAuthorsBadge: true +#+showTaxonomies: true +#+showReadingTime: true +#+showWordCount: true +#+showDate: true +#+layout: simple +#+showTableOfContents: false +") web-mode