Remove unused/redundant ivy bindings

This commit is contained in:
Henrik Lissner 2017-06-09 19:44:41 +02:00
parent 0bc182ef1a
commit e7b08082fd
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 2 additions and 11 deletions

View file

@ -230,12 +230,3 @@ counsel-rg)."
(doom/popup-close))
(ivy-resume))
;;;###autoload
(defun +ivy/backward-kill-word ()
"Kill a word backwards, but only if cursor is after `minibuffer-prompt-end',
to prevent the 'Text is read-only' warning from monopolizing the minibuffer."
(interactive)
(call-interactively
(if (> (point) (minibuffer-prompt-end))
#'backward-kill-word
#'ivy-backward-delete-char)))