counsel-yank-pop: add a defcustom, which can set SEPARATOR #660

Closed
tumashu opened this Issue Sep 11, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@tumashu
Contributor

tumashu commented Sep 11, 2016

Like the below:
_026

    (defun counsel--yank-pop-format-function (cand-pairs)
      (ivy--format-function-generic
       (lambda (str)
         (mapconcat
          (lambda (s)
            (ivy--add-face s 'ivy-current-match))
          (split-string
           (counsel--yank-pop-truncate str) "\n" t)
          "\n"))
       (lambda (str)
         (counsel--yank-pop-truncate str))
       cand-pairs
       (concat "\n" (make-string 70 ?-) "\n")))

@abo-abo abo-abo closed this in 4e6145c Sep 11, 2016

@abo-abo

This comment has been minimized.

Show comment
Hide comment
@abo-abo

abo-abo Sep 11, 2016

Owner

Thanks.

Owner

abo-abo commented Sep 11, 2016

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment