mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Remove expand-region package
It was unused, and is redundant with evil's text object expansion keys.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user