From 461e98df20f1f0b6834b666619e2ccbefd4dcac6 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 5 Jan 2022 11:25:00 -0600 Subject: Add dictionary lookup to +lookup-map --- init.el | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/init.el b/init.el index 0248444..5586f64 100644 --- a/init.el +++ b/init.el @@ -842,21 +842,8 @@ See also `crux-reopen-as-root-mode'." (:option dictionary-use-single-buffer t) (autoload 'dictionary-search "dictionary" "Ask for a word and search it in all dictionaries" t) - (autoload 'dictionary-match-words "dictionary" - "Ask for a word and search all matching words in the dictionaries" t) - (autoload 'dictionary-lookup-definition "dictionary" - "Unconditionally lookup the word at point." t) - (autoload 'dictionary "dictionary" - "Create a new dictionary buffer" t) - (autoload 'dictionary-mouse-popup-matching-words "dictionary" - "Display entries matching the word at the cursor" t) - (autoload 'dictionary-popup-matching-words "dictionary" - "Display entries matching the word at the point" t) - (autoload 'dictionary-tooltip-mode "dictionary" - "Display tooltips for the current word" t) - (autoload 'global-dictionary-tooltip-mode "dictionary" - "Enable/disable dictionary-tooltip-mode for all buffers" t) - (:hook #'reading-mode)) + (:hook #'reading-mode) + (define-key +lookup-map "d" #'dictionary-search)) (setup (:straight (discord :host github -- cgit 1.4.1-21-gabe81