diff options
author | Case Duckworth | 2022-01-05 11:25:00 -0600 |
---|---|---|
committer | Case Duckworth | 2022-01-05 11:25:00 -0600 |
commit | 461e98df20f1f0b6834b666619e2ccbefd4dcac6 (patch) | |
tree | ae4843fed075f8f48878c8c29e34ac8c6afee52f | |
parent | Add +link-hint-map (diff) | |
download | emacs-461e98df20f1f0b6834b666619e2ccbefd4dcac6.tar.gz emacs-461e98df20f1f0b6834b666619e2ccbefd4dcac6.zip |
Add dictionary lookup to +lookup-map
-rw-r--r-- | init.el | 17 |
1 files 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'." | |||
842 | (:option dictionary-use-single-buffer t) | 842 | (:option dictionary-use-single-buffer t) |
843 | (autoload 'dictionary-search "dictionary" | 843 | (autoload 'dictionary-search "dictionary" |
844 | "Ask for a word and search it in all dictionaries" t) | 844 | "Ask for a word and search it in all dictionaries" t) |
845 | (autoload 'dictionary-match-words "dictionary" | 845 | (:hook #'reading-mode) |
846 | "Ask for a word and search all matching words in the dictionaries" t) | 846 | (define-key +lookup-map "d" #'dictionary-search)) |
847 | (autoload 'dictionary-lookup-definition "dictionary" | ||
848 | "Unconditionally lookup the word at point." t) | ||
849 | (autoload 'dictionary "dictionary" | ||
850 | "Create a new dictionary buffer" t) | ||
851 | (autoload 'dictionary-mouse-popup-matching-words "dictionary" | ||
852 | "Display entries matching the word at the cursor" t) | ||
853 | (autoload 'dictionary-popup-matching-words "dictionary" | ||
854 | "Display entries matching the word at the point" t) | ||
855 | (autoload 'dictionary-tooltip-mode "dictionary" | ||
856 | "Display tooltips for the current word" t) | ||
857 | (autoload 'global-dictionary-tooltip-mode "dictionary" | ||
858 | "Enable/disable dictionary-tooltip-mode for all buffers" t) | ||
859 | (:hook #'reading-mode)) | ||
860 | 847 | ||
861 | (setup (:straight (discord | 848 | (setup (:straight (discord |
862 | :host github | 849 | :host github |