completion/ivy: remove unused +ivy/kill-ring

It was also redundant with counsel-yank-pop
This commit is contained in:
Henrik Lissner 2017-05-16 17:38:26 +02:00
parent 1ce3f39529
commit aeb2f23a3e

View file

@ -66,16 +66,6 @@ limit to buffers in the current workspace."
:keymap ivy-switch-buffer-map
:caller '+ivy/switch-workspace-buffer))
;;;###autoload
(defun +ivy/kill-ring ()
"Search through the kill ring with `ivy'."
(interactive)
(ivy-read "Kill ring:"
(cl-remove-if (lambda (it)
(or (< (length it) 3)
(string-match-p "\\`[\n[:blank:]]+\\'" it)))
(cl-remove-duplicates kill-ring :test 'equal))))
;; TODO refactor ivy task candidate functions (messy!)
(defun +ivy--tasks-candidates (tasks)
"Generate a list of task tags (specified by `+ivy-task-tags') for