diff options
author | noa | 2025-04-29 15:15:27 +0800 |
---|---|---|
committer | noa | 2025-04-29 15:15:27 +0800 |
commit | f11652f0843a9670fa8e6246091445ba74cd383c (patch) | |
tree | e91b6fa98a3ba05ba27e5c070f2ec2964f535529 | |
parent | 07f78f4f464b3a10b6628781696e2f206ca98d5a (diff) |
Update dictionary to use help buffers
-rw-r--r-- | emacs/init.el | 12 |
1 files changed, 8 insertions, 4 deletions
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 |