From f11652f0843a9670fa8e6246091445ba74cd383c Mon Sep 17 00:00:00 2001 From: noa Date: Tue, 29 Apr 2025 15:15:27 +0800 Subject: Update dictionary to use help buffers --- emacs/init.el | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index 6769252..3f052af 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -183,21 +183,25 @@ ;; (completion-in-region-function 'consult-completion-in-region) ) + ;;; Dictionary + ;; Emacs has built in support for interfacing with dictd. With dictd and some dictionaries installed on debian, this works fine out of the box. -;; Unfortunately, dictionaries in this format tend to be hard wrapped and there isn't a lot of coverage outside of english +;; Unfortunately, dictionaries in this format tend to be hard wrapped and there isn't a lot of coverage outside of English. (use-package dictionary - :defer t :custom - (dictionary-search-interface nil)) + (dictionary-search-interface 'help + dictionary-default-dictionary "*")) + ;;; Offline web browsing ;; Despite the name, eww is a delight to use for text-heavy websites. (use-package browse-url + :disabled t :defer t :custom - (browse-url-browser-function 'noa/record-url) + (browse-url-browser-function 'browse-url-default-browser) (browse-url-secondary-browser-function 'browse-url-default-browser)) (use-package shr -- cgit 1.4.1-2-gfad0