Add define-word package
Introduction: http://oremacs.com/2015/05/22/define-word/
This commit is contained in:
parent
371552999b
commit
1e32324f81
|
@ -1853,6 +1853,7 @@ Text related commands (start with ~x~):
|
|||
| ~SPC x t l~ | swap (transpose) the current line with the previous one |
|
||||
| ~SPC x w c~ | count the number of words in the selection region |
|
||||
| ~SPC x w C~ | count the number of occurrences per word in the select region |
|
||||
| ~SPC x w d~ | show dictionary entry of word from wordnik.com |
|
||||
|
||||
*** Smartparens Strict mode
|
||||
[[https://github.com/Fuco1/smartparens][Smartparens]] comes with a strict mode which prevents deletion of parenthesis if
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
bookmark
|
||||
buffer-move
|
||||
clean-aindent-mode
|
||||
define-word
|
||||
desktop
|
||||
diminish
|
||||
doc-view
|
||||
|
@ -432,6 +433,13 @@
|
|||
(setq desktop-dirname spacemacs-cache-directory)
|
||||
(push spacemacs-cache-directory desktop-path))))
|
||||
|
||||
(defun spacemacs/init-define-word ()
|
||||
(use-package define-word
|
||||
:defer t
|
||||
:init
|
||||
(evil-leader/set-key
|
||||
"xwd" 'define-word-at-point)))
|
||||
|
||||
(defun spacemacs/init-diminish ()
|
||||
(require 'diminish)
|
||||
;; Minor modes abbrev --------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue