diff options
| author | tslil clingman <> | 2020-03-24 10:19:15 -0700 |
|---|---|---|
| committer | tslil clingman <> | 2020-03-24 10:19:15 -0700 |
| commit | 131eae8d53e8bf41023e11da7382294f187ea41d (patch) | |
| tree | 5cf47fd38bff4c6586e6f3aef48a92bebcf155c0 /emacs/inits/11-selectrum.el | |
| parent | 6e0beb56dd2fdfccba3094185ca52628091b1208 (diff) | |
Changes from bison
Diffstat (limited to 'emacs/inits/11-selectrum.el')
| -rw-r--r-- | emacs/inits/11-selectrum.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/emacs/inits/11-selectrum.el b/emacs/inits/11-selectrum.el index f6e43bb..c8c9470 100644 --- a/emacs/inits/11-selectrum.el +++ b/emacs/inits/11-selectrum.el @@ -1,4 +1,4 @@ -;; Time-stamp: <2020-03-03 13:47:30 (tslil@bison)> +;; Time-stamp: <2020-03-04 21:49:27 (tslil@bison)> (use-package deadgrep :ensure t @@ -17,12 +17,14 @@ (defun selectrum-yank () (interactive) (let ((selectrum-should-sort-p nil)) - (insert (completing-read "Yank: " kill-ring-yank-pointer nil t)))) + (insert (selectrum-completing-read "Yank: " (delete-duplicates kill-ring :test #'equal) nil t)))) (use-package selectrum :bind (("C-x f" . selectrum-recentf) ("M-y" . selectrum-yank)) :config + (setq selectrum-num-candidates-displayed 7 + selectrum-count-style 'matches) (selectrum-mode +1)) (use-package prescient |
