From 1b26366d64670c0b7c481c145a1874d8559c1aaf Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Sun, 26 May 2024 16:08:40 +1200 Subject: [PATCH] emacs: add describe-word alias and keybind --- .emacs.d/init.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 1d0af79..9fc756f 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -38,6 +38,9 @@ One will be created if none exist." (find-file user-init-file)) (global-set-key (kbd "C-c e i") 'edit-init-file) +(defalias 'describe-word 'dictionary-search) +(global-set-key (kbd "C-h w") 'describe-word) + ;; variables (setq compilation-scroll-output t ; M-x compile dictionary-server "dict.org" ; M-x dictionary-search