From 2439904a6dff5b27de9590028cb5bfd19db6e335 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Tue, 3 Oct 2023 07:00:19 -0700 Subject: emacs: bind dict lookup --- .emacs.d/rul-lisp/packages/rul-write.el | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.emacs.d/rul-lisp/packages/rul-write.el') 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 -- cgit v1.2.3