From be228e03c513e59b0c1976538831e44dfd475dcd Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 30 Jun 2021 19:32:56 -0500 Subject: Switch prefix with erc-switch-to-buffer --- init.el | 2 ++ lisp/acdw-erc.el | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/init.el b/init.el index 7d32117..a49f107 100644 --- a/init.el +++ b/init.el @@ -296,6 +296,8 @@ erc-track-mode erc-truncate-mode) + (:bind "C-c C-b" acdw-erc/erc-switch-to-buffer) + ;; (setup (:straight erc-hl-nicks) ;; (with-eval-after-load 'erc ;; (require 'erc-hl-nicks) diff --git a/lisp/acdw-erc.el b/lisp/acdw-erc.el index 8cf9734..f62e731 100644 --- a/lisp/acdw-erc.el +++ b/lisp/acdw-erc.el @@ -101,5 +101,14 @@ If USE-TLS is non-nil, use TLS." (apply #'concat ss)) name)))) + +;;; Uh + +(defun acdw-erc/erc-switch-to-buffer (&optional arg) + "Prompt for ERC buffer to switch to. +Reverse prefix argument from `erc-switch-to-buffer'." + (interactive "P") + (erc-switch-to-buffer (not arg))) + (provide 'acdw-erc) ;;; acdw-erc.el ends here -- cgit 1.4.1-21-gabe81 From 7f9230da5e88b9d5b44210c60386d5f435a10d5b Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 30 Jun 2021 19:33:31 -0500 Subject: Comment bind --- init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index a49f107..82231e9 100644 --- a/init.el +++ b/init.el @@ -712,8 +712,8 @@ like a dumbass." " h" nil ; HELLO takes a long time to load on Windows ) - (when (display-graphic-p) - (:global "" keyboard-escape-quit)) + ;; (when (display-graphic-p) + ;; (:global "" keyboard-escape-quit)) ;; Remap C-h to DEL -- can be the "help" key (define-key key-translation-map [?\C-h] [?\C-?]) -- cgit 1.4.1-21-gabe81 From bbf53fcf2263c6581b55f0adeef499543336e13b Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 30 Jun 2021 19:33:51 -0500 Subject: Add vantaradio --- init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 82231e9..164954a 100644 --- a/init.el +++ b/init.el @@ -930,7 +930,9 @@ if ripgrep is installed, otherwise `consult-grep'." ,(concat "https://playerservices.streamtheworld.com/" "api/livestream-redirect/WRKFFM.mp3")) ("tilderadio" . - "https://radio.tildeverse.org/radio/8000/radio.ogg"))) + "https://radio.tildeverse.org/radio/8000/radio.ogg") + ("vantaradio" . + "https://vantaa.black/radio"))) (:global "C-c r r" eradio-play ; mnemonic: radio "C-c r s" eradio-stop ; mnemonic: stop "C-c r p" eradio-toggle ; mnemonic: play/pause -- cgit 1.4.1-21-gabe81 From 1454e80853867e02000ac41b9168d501e9ca0720 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 30 Jun 2021 19:34:06 -0500 Subject: Start week on Monday --- init.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init.el b/init.el index 164954a..e7ef20c 100644 --- a/init.el +++ b/init.el @@ -99,6 +99,10 @@ (setup buffers (:global "C-x k" acdw/kill-a-buffer)) +(setup calendar + (:option calendar-week-start-day 1 ; Monday + )) + (setup completion (:option completion-ignore-case t read-buffer-completion-ignore-case t -- cgit 1.4.1-21-gabe81