diff options
| author | tslil clingman <> | 2020-04-24 14:51:42 -0700 |
|---|---|---|
| committer | tslil clingman <> | 2020-04-24 14:51:42 -0700 |
| commit | 18bb5178ea2d2d1f2f0e788ab33bfbdf59376837 (patch) | |
| tree | 89e597d08d0a1d656a1a5f4772c7e138fb36a0e9 /emacs/inits/11-selectrum.el | |
| parent | 6ba333c21a29be757a5f7735ae8bcde153346e60 (diff) | |
EXWM workspace fixes & tray, Verilog, still not good input method
Diffstat (limited to 'emacs/inits/11-selectrum.el')
| -rw-r--r-- | emacs/inits/11-selectrum.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/emacs/inits/11-selectrum.el b/emacs/inits/11-selectrum.el index f9ed8b0..5704635 100644 --- a/emacs/inits/11-selectrum.el +++ b/emacs/inits/11-selectrum.el @@ -1,4 +1,4 @@ -;; Time-stamp: <2020-04-23 20:59:13 (tslil@bison)> +;; Time-stamp: <2020-04-24 14:39:20 (tslil@bison)> (use-package deadgrep :ensure t @@ -12,7 +12,7 @@ (defun selectrum-yank () (interactive) (let ((selectrum-should-sort-p nil)) - (insert (selectrum-completing-read "Yank: " (delete-duplicates kill-ring :test #'equal) nil t)))) + (insert (selectrum-completing-read "Yank: " (delete-dups kill-ring) nil t)))) (use-package selectrum :bind (("C-x f" . selectrum-recentf) @@ -20,6 +20,9 @@ :config (setq selectrum-num-candidates-displayed 7 selectrum-count-style 'matches) + ;; If i don't want `enable-recursive-minibuffers' this is the next best thing: + ;; (setq-default completion-in-region-function selectrum--old-completion-in-region-function) + (setq enable-recursive-minibuffers t) (selectrum-mode +1)) (use-package prescient @@ -29,10 +32,7 @@ :ensure t :config (selectrum-prescient-mode +1) - (prescient-persist-mode +1) - ;; I don't want enable-recursive-minibuffers so this is the next best thing: - (setq-default completion-in-region-function selectrum--old-completion-in-region-function) - ) + (prescient-persist-mode +1)) ;; (use-package ctrlf ;; :ensure t |
