Remove evil-delete-backward-char-and-join hack
The breaking change was reverted upstream: emacs-evil/evil@30b77c9
This commit is contained in:
parent
c6518498b9
commit
f9dda32584
1 changed files with 0 additions and 9 deletions
|
@ -157,15 +157,6 @@ directives. By default, this only recognizes C directives.")
|
|||
(advice-add #'evil-open-above :around #'+evil--insert-newline-above-and-respect-comments-a)
|
||||
(advice-add #'evil-open-below :around #'+evil--insert-newline-below-and-respect-comments-a)
|
||||
|
||||
;; Fix backspace/DEL commands not respecting `delete-selection-mode',
|
||||
;; smartparens pairs (in some cases), and ignoring
|
||||
;; `+default--delete-backward-char-a' on `delete-char-backward'
|
||||
(defadvice! +evil-delete-region-if-mark-a (orig-fn &rest args)
|
||||
:override #'evil-delete-backward-char-and-join
|
||||
(if (or evil-backspace-join-lines (not (bolp)))
|
||||
(call-interactively #'backward-delete-char-untabify)
|
||||
(user-error "Beginning of line")))
|
||||
|
||||
;; Recenter screen after most searches
|
||||
(dolist (fn '(evil-visualstar/begin-search-forward
|
||||
evil-visualstar/begin-search-backward
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue