Add define-word package

Introduction: http://oremacs.com/2015/05/22/define-word/
This commit is contained in:
Swaroop 2015-05-25 11:23:20 -07:00 committed by syl20bnr
parent 371552999b
commit 1e32324f81
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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 --------------------------------------------------------