use-package define-word

This commit is contained in:
larstvei 2023-06-11 22:47:50 +02:00
parent b1521a900b
commit b0856a41e6

View File

@ -207,8 +207,7 @@
(let* ((package--builtins nil)
(packages
'(define-word ; display the definition of word at point
diff-hl ; Highlight uncommitted changes using VC
'(diff-hl ; Highlight uncommitted changes using VC
direnv ; direnv integration
editorconfig ; EditorConfig Emacs Plugin
erlang ; Erlang major mode
@ -723,6 +722,8 @@
* Spelling
** Flyspell
Flyspell offers on-the-fly spell checking. We can enable flyspell for all
text-modes with this snippet.
@ -794,6 +795,19 @@
#+end_src
** Define word
This super neat package looks up the word at point. I use it a lot!
#+begin_src emacs-lisp
;; display the definition of word at point
(use-package define-word
:defer t
:bind (("C-c D" . 'define-word-at-point)))
#+end_src
* Org
When editing org-files with source-blocks, we want the source blocks to be