aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Benencia <id@rbenencia.name>2023-10-03 07:00:19 -0700
committerRaúl Benencia <id@rbenencia.name>2023-10-03 07:00:48 -0700
commit2439904a6dff5b27de9590028cb5bfd19db6e335 (patch)
treefd01ceb1ffc6cee6eaec4104f9b9879823d49c3e
parentcca3f37fa7c3875152088a2e92b9a59777bc8a44 (diff)
emacs: bind dict lookup
-rw-r--r--.emacs.d/rul-lisp/packages/rul-write.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.d/rul-lisp/packages/rul-write.el b/.emacs.d/rul-lisp/packages/rul-write.el
index 933473d..d668975 100644
--- a/.emacs.d/rul-lisp/packages/rul-write.el
+++ b/.emacs.d/rul-lisp/packages/rul-write.el
@@ -1,3 +1,10 @@
+;;;; `dictionary'
+(setq dictionary-server "dict.org"
+ dictionary-default-popup-strategy "lev"
+ dictionary-create-buttons nil
+ dictionary-use-single-buffer t)
+(define-key global-map (kbd "C-c d") #'dictionary-lookup-definition)
+
(use-package denote
:ensure t
:config
nihil fit ex nihilo