diff options
-rw-r--r-- | init.el | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/init.el b/init.el index bee4ca9..255b916 100644 --- a/init.el +++ b/init.el | |||
@@ -567,16 +567,21 @@ call `zzz-to-char'." | |||
567 | 567 | ||
568 | (global-undo-fu-session-mode +1)) | 568 | (global-undo-fu-session-mode +1)) |
569 | 569 | ||
570 | (setup (:straight icomplete-vertical) | 570 | ;; (setup (:straight icomplete-vertical) |
571 | (:with-map icomplete-minibuffer-map | 571 | ;; (:with-map icomplete-minibuffer-map |
572 | (:bind "<down>" icomplete-forward-completions | 572 | ;; (:bind "<down>" icomplete-forward-completions |
573 | "C-n" icomplete-forward-completions | 573 | ;; "C-n" icomplete-forward-completions |
574 | "<up>" icomplete-backward-completions | 574 | ;; "<up>" icomplete-backward-completions |
575 | "C-p" icomplete-backward-completions | 575 | ;; "C-p" icomplete-backward-completions |
576 | "C-v" icomplete-vertical-toggle | 576 | ;; "C-v" icomplete-vertical-toggle |
577 | "RET" icomplete-force-complete-and-exit | 577 | ;; "RET" icomplete-force-complete-and-exit |
578 | "C-RET" minibuffer-complete-and-exit)) | 578 | ;; "C-RET" minibuffer-complete-and-exit)) |
579 | (icomplete-vertical-mode +1)) | 579 | ;; (icomplete-vertical-mode +1)) |
580 | |||
581 | (setup (:straight vertico) | ||
582 | (icomplete-mode -1) | ||
583 | (icomplete-vertical-mode -1) | ||
584 | (vertico-mode +1)) | ||
580 | 585 | ||
581 | (setup (:straight orderless) | 586 | (setup (:straight orderless) |
582 | (:option (prepend completion-styles) 'orderless)) | 587 | (:option (prepend completion-styles) 'orderless)) |