summaryrefslogtreecommitdiff
path: root/guix/kolwynia/home/bdunahu/files/.config/emacs/modules/bd--dictionary.el
diff options
context:
space:
mode:
Diffstat (limited to 'guix/kolwynia/home/bdunahu/files/.config/emacs/modules/bd--dictionary.el')
-rw-r--r--guix/kolwynia/home/bdunahu/files/.config/emacs/modules/bd--dictionary.el20
1 files changed, 20 insertions, 0 deletions
diff --git a/guix/kolwynia/home/bdunahu/files/.config/emacs/modules/bd--dictionary.el b/guix/kolwynia/home/bdunahu/files/.config/emacs/modules/bd--dictionary.el
new file mode 100644
index 0000000..e032837
--- /dev/null
+++ b/guix/kolwynia/home/bdunahu/files/.config/emacs/modules/bd--dictionary.el
@@ -0,0 +1,20 @@
+;;; -*- lexical-binding: t; -*-
+;;; Commentary:
+;;; Code:
+
+
+(use-package dictionary
+ :bind (("C-c i" . dictionary-lookup-definition))
+ :config
+ (setopt dictionary-server "localhost"
+ dictionary-use-single-buffer t))
+
+(use-package powerthesaurus
+ :bind (("C-c t" . powerthesaurus-transient))
+ :config
+ (setopt powerthesaurus-show-rating nil
+ powerthesaurus-user-agent "Chrome/138.0.0.0"))
+
+
+(provide 'bd--dictionary)
+;;; bd--dictionary.el ends here