mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
use-package define-word
This commit is contained in:
parent
b1521a900b
commit
b0856a41e6
18
init.org
18
init.org
@ -207,8 +207,7 @@
|
|||||||
|
|
||||||
(let* ((package--builtins nil)
|
(let* ((package--builtins nil)
|
||||||
(packages
|
(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
|
direnv ; direnv integration
|
||||||
editorconfig ; EditorConfig Emacs Plugin
|
editorconfig ; EditorConfig Emacs Plugin
|
||||||
erlang ; Erlang major mode
|
erlang ; Erlang major mode
|
||||||
@ -723,6 +722,8 @@
|
|||||||
|
|
||||||
* Spelling
|
* Spelling
|
||||||
|
|
||||||
|
** Flyspell
|
||||||
|
|
||||||
Flyspell offers on-the-fly spell checking. We can enable flyspell for all
|
Flyspell offers on-the-fly spell checking. We can enable flyspell for all
|
||||||
text-modes with this snippet.
|
text-modes with this snippet.
|
||||||
|
|
||||||
@ -794,6 +795,19 @@
|
|||||||
|
|
||||||
#+end_src
|
#+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
|
* Org
|
||||||
|
|
||||||
When editing org-files with source-blocks, we want the source blocks to be
|
When editing org-files with source-blocks, we want the source blocks to be
|
||||||
|
Loading…
Reference in New Issue
Block a user