From e842b52d442619a383c1536a22d6df2b3bf7db2b Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 12 Jul 2025 11:24:40 -0500 Subject: move erc-yank to erc-config; disable google-this --- modules/erc-config.el | 12 ++++++++++++ modules/test-code.el | 30 +++++++++--------------------- 2 files changed, 21 insertions(+), 21 deletions(-) (limited to 'modules') diff --git a/modules/erc-config.el b/modules/erc-config.el index ddc8f737..a5284565 100644 --- a/modules/erc-config.el +++ b/modules/erc-config.el @@ -91,6 +91,18 @@ :config (add-to-list 'erc-modules 'hl-nicks)) +;; ------------------------------ ERC Yank To Gist ----------------------------- +;; automatically create a Gist if pasting more than 5 lines +;; this module requires https://github.com/defunkt/gist +;; via ruby: 'gem install gist' via the aur: yay -S gist + +(use-package erc-yank + :defer 1 + :after erc + :bind + (:map erc-mode-map + ("C-y" . erc-yank))) + ;; -------------------------------- Connect IRC -------------------------------- ;; convenience function to auto-connect to irc.libera.chat diff --git a/modules/test-code.el b/modules/test-code.el index 106044fd..dca4b4a1 100644 --- a/modules/test-code.el +++ b/modules/test-code.el @@ -56,27 +56,15 @@ ;; -------------------------------- Google This -------------------------------- -(use-package google-this - :load-path "~/code/emacs-google-this/" - :defer 1 - :bind - ("C-h g" . 'google-this-search) - :config - (google-this-mode 1) - (setq google-this-browse-url-function 'eww-browse-url)) - - -;; ------------------------------ ERC Yank To Gist ----------------------------- -;; automatically create a Gist if pasting more than 5 lines -;; this module requires https://github.com/defunkt/gist -;; via ruby: 'gem install gist' via the aur: yay -S gist - -(use-package erc-yank - :defer 1 - :after erc - :bind - (:map erc-mode-map - ("C-y" . erc-yank))) +;; not working as-is +;; (use-package google-this +;; :load-path "~/code/emacs-google-this/" +;; :defer 1 +;; :bind +;; ("C-h g" . google-this-search) +;; :config +;; (google-this-mode 1) +;; (setq google-this-browse-url-function 'eww-browse-url)) ;; --------------------------------- Ob-Racket --------------------------------- -- cgit v1.2.3