Remove expand-region package

It was unused, and is redundant with evil's text object expansion keys.
This commit is contained in:
Henrik Lissner 2019-03-06 03:18:02 -05:00
parent 884957bdc6
commit 4fbf7a2687
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 0 additions and 22 deletions

View file

@ -269,17 +269,6 @@ savehist file."
command-log-mode-is-global t))
(def-package! expand-region
:commands (er/contract-region er/mark-symbol er/mark-word)
:config
(defun doom*quit-expand-region ()
"Properly abort an expand-region region."
(when (memq last-command '(er/expand-region er/contract-region))
(er/contract-region 0)))
(advice-add #'evil-escape :before #'doom*quit-expand-region)
(advice-add #'doom/escape :before #'doom*quit-expand-region))
;; `helpful' --- a better *help* buffer
(def-package! helpful
:defer t