From f233d8bb3d9432def890285e9fc8159df53d73ac Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Wed, 22 Feb 2023 11:58:54 +0200 Subject: [PATCH] Update esy.org --- .emacs.d/esy.org | 66 +++++++++++++++++++++++++++++++++++------------- 1 file changed, 48 insertions(+), 18 deletions(-) diff --git a/.emacs.d/esy.org b/.emacs.d/esy.org index 6d63b8d..2080f04 100644 --- a/.emacs.d/esy.org +++ b/.emacs.d/esy.org @@ -288,8 +288,6 @@ Ensure they're all installed: (show-paren-mode) - (global-hl-line-mode) - (require 'lin) (add-to-list 'lin-mode-hooks 'gnus-summary-mode-hook) (add-to-list 'lin-mode-hooks 'gnus-group-mode-hook) @@ -519,7 +517,7 @@ refiling directly into deeper headings as well. (file+headline esy/inbox-path "Tasks") "** TODO %^{Task} %^g :PROPERTIES: - :CreatedAt: %t + :CreatedAt: %u :CapturedAt: %a :CapturedAs: Inbox Task :END:" @@ -530,7 +528,7 @@ refiling directly into deeper headings as well. (file+headline esy/inbox-path "Tasks") "** TODO %^{Task} :work: :PROPERTIES: - :CreatedAt: %t + :CreatedAt: %u :CapturedAt: %a :CapturedAs: Work Task :END:" @@ -543,7 +541,7 @@ refiling directly into deeper headings as well. "** %^{Fragment} %^g :PROPERTIES: :CUSTOM_ID: %^{CUSTOM_ID} - :CreatedAt: %t + :CreatedAt: %u :CapturedAt: %a :CapturedAs: Emacs configuration fragment :END:\n\n#+begin_src emacs-lisp\n %i\n#+end_src" @@ -552,7 +550,7 @@ refiling directly into deeper headings as well. (file+headline esy/inbox-path "Calendar") "** %^{Title} %^g :PROPERTIES: - :CreatedAt: %t + :CreatedAt: %u :CapturedAt: %a :CapturedAs: Calendar Event :END: @@ -565,7 +563,7 @@ refiling directly into deeper headings as well. (file+datetree esy/journal-path) "* %? :PROPERTIES: - :CreatedAt: %t + :CreatedAt: %u :CapturedAt: %a :CaptuerdAs: Journal entry :END: @@ -666,6 +664,7 @@ refiling directly into deeper headings as well. (setq mail-user-agent 'gnus-user-agent gnus-always-read-dribble-file t gnus-expert-user t + gnus-break-pages nil gnus-inhibit-startup-message t gnus-select-method '(nnimap "gmail" (nnimap-address "imap.gmail.com") @@ -675,7 +674,8 @@ refiling directly into deeper headings as well. (nnimap-address "mail.eshelyaron.com") (nnimap-server-port "imaps") (nnimap-stream ssl) - (nnimap-authinfo-file "~/.authinfo")))) + (nnimap-authinfo-file "~/.authinfo"))) + gnus-no-groups-message "No new articles") (defun esy/customize-gnus-mode () "Configure Gnus specific customizations." @@ -799,7 +799,6 @@ refiling directly into deeper headings as well. (global-set-key (kbd "C-,") #'backward-delete-char) (global-set-key (kbd "C-.") #'embark-act) (global-set-key (kbd "C-;") #'avy-goto-char-timer) - (global-set-key (kbd "C-s-p") #'esy/present-buffer) (global-set-key (kbd "C-s-f") #'toggle-frame-fullscreen) (global-set-key (kbd "C-s-l") #'esy/pulse-line) #+end_src @@ -925,6 +924,12 @@ over ssh for remote connections. vterm-use-vterm-prompt-detection-method t) (add-to-list 'vterm-tramp-shells '("kubernetes" "/bin/bash")) (add-hook 'vterm-mode-hook #'esy/vterm-mode-hook-function)) + + (defun esy/ttyper (arg) + "Start `ttyper' in a `vterm-mode' buffer." + (interactive "P") + (let ((vterm-shell (executable-find "ttyper"))) + (vterm arg))) #+end_src ** Elfeed @@ -937,6 +942,8 @@ over ssh for remote connections. (setq elfeed-feeds '( "https://ajroach42.com/feed.xml" + "https://jcm.libsyn.com/rss/" + "https://betterappsec.com/feed" "https://emacs.dyerdwelling.family/index.xml" "https://www.typetheoryforall.com/episodes.mp3.rss" "https://www.fsf.org/static/fsforg/rss/news.xml" @@ -957,11 +964,15 @@ over ssh for remote connections. "https://olddeuteronomy.github.io/index.xml" "https://parasurv.neocities.org/rss.xml" "https://phaazon.net/blog/feed" + "https://bruda.ca/feed.php" + "https://erikmcclure.com/blog/index.xml" + "https://blog.acthompson.net/feeds/posts/default" "https://planet.emacslife.com/atom.xml" "https://pouria.dev/rss.xml" "https://project-mage.org/rss.xml" "https://reddit.com/r/prolog/.rss" "https://sachachua.com/blog/feed/" + "https://feeds.buzzsprout.com/2134279.rss" "https://stephanango.com/feed.xml" "https://stppodcast.libsyn.com/rss" "https://writer13.neocities.org/rss.xml" @@ -971,6 +982,7 @@ over ssh for remote connections. "https://xkcd.com/rss.xml" "https://bitspook.in/blog/feed.xml" "https://flower.codes/feed.xml" + "https://www.cs.uni.edu/~wallingf/blog/atom.xml" ))) #+end_src @@ -1417,6 +1429,24 @@ include =emacs-lisp-mode= and =lisp-interaction-mode=. (add-to-list 'rg-custom-type-aliases '("Prolog" . "*.pl *.plt *.pro *.prolog"))) #+end_src +** Dockerfile +:PROPERTIES: +:CUSTOM_ID: dockerfile +:END: + +#+begin_src emacs-lisp + (add-to-list 'auto-mode-alist '("Dockerfile" . dockerfile-ts-mode)) +#+end_src + +** YAML +:PROPERTIES: +:CUSTOM_ID: yaml +:END: + +#+begin_src emacs-lisp + (add-to-list 'auto-mode-alist '("\\.ya?ml\\'" . yaml-ts-mode)) +#+end_src + ** Rust :PROPERTIES: :CUSTOM_ID: rust @@ -1426,25 +1456,25 @@ include =emacs-lisp-mode= and =lisp-interaction-mode=. (add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-ts-mode)) #+end_src -** Terraform +** Go :PROPERTIES: -:CUSTOM_ID: terraform +:CUSTOM_ID: go :END: #+begin_src emacs-lisp - (use-package terraform-mode - :config - (setq terraform--resource-name-face font-lock-function-name-face - terraform--resource-type-face font-lock-type-face)) + (add-to-list 'auto-mode-alist '("\\.go\\'" . go-ts-mode)) #+end_src -** Dockerfile +** Terraform :PROPERTIES: -:CUSTOM_ID: dockerfile +:CUSTOM_ID: terraform :END: #+begin_src emacs-lisp - (add-to-list 'auto-mode-alist '("Dockerfile" . dockerfile-ts-mode)) + (use-package terraform-mode + :config + (setq terraform--resource-name-face font-lock-function-name-face + terraform--resource-type-face font-lock-type-face)) #+end_src * =vc= customizations -- 2.39.2