summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el30
1 files changed, 13 insertions, 17 deletions
diff --git a/init.el b/init.el index dc3062e..624af37 100644 --- a/init.el +++ b/init.el
@@ -571,28 +571,24 @@ call `zzz-to-char'."
571 571
572 (global-undo-fu-session-mode +1)) 572 (global-undo-fu-session-mode +1))
573 573
574;; (setup (:straight icomplete-vertical) 574(if (boundp 'comp-deferred-compilation-deny-list)
575;; (:with-map icomplete-minibuffer-map 575 (add-to-list 'comp-deferred-compilation-deny-list "vertico"))
576;; (:bind "<down>" icomplete-forward-completions 576(setup (:straight (vertico
577;; "C-n" icomplete-forward-completions 577 :host github
578;; "<up>" icomplete-backward-completions 578 :repo "minad/vertico"))
579;; "C-p" icomplete-backward-completions 579 (setq resize-mini-windows t)
580;; "C-v" icomplete-vertical-toggle
581;; "RET" icomplete-force-complete-and-exit
582;; "C-RET" minibuffer-complete-and-exit))
583;; (icomplete-vertical-mode +1))
584
585(setup (:straight vertico)
586 (if (bound-and-true-p comp-deferred-compilation-deny-list)
587 (add-to-list 'comp-deferred-compilation-deny-list 'vertico))
588 (icomplete-mode -1) 580 (icomplete-mode -1)
589 (icomplete-vertical-mode -1)
590 (vertico-mode +1)) 581 (vertico-mode +1))
591 582
592(setup (:straight orderless) 583(setup (:straight (orderless
584 :host github
585 :repo "oantolin/orderless"))
586 (require 'orderless)
593 (:option (prepend completion-styles) 'orderless)) 587 (:option (prepend completion-styles) 'orderless))
594 588
595(setup (:straight consult) 589(setup (:straight (consult
590 :host github
591 :repo "minad/consult"))
596 592
597 ;; "Sensible" functions 593 ;; "Sensible" functions
598 (defun consult-sensible-grep () 594 (defun consult-sensible-grep ()