aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/init-minibuffer.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-minibuffer.el b/.emacs.d/lisp/init-minibuffer.el
index 83a2498..c9cb86f 100644
--- a/.emacs.d/lisp/init-minibuffer.el
+++ b/.emacs.d/lisp/init-minibuffer.el
@@ -9,6 +9,18 @@
vertico-count 20
vertico-cycle t)
+(setq completion-ignore-case t
+ read-file-name-completion-ignore-case t
+ read-buffer-completion-ignore-case t)
+
+(with-eval-after-load 'vertico
+ (define-key vertico-map (kbd "C-c j") 'vertico-quick-jump)
+ (define-key vertico-map (kbd "C-c C-j") 'vertico-quick-jump)
+ (define-key vertico-map (kbd "C-d")
+ (lambda () (interactive) (vertico-next (/ vertico-count 2))))
+ (define-key vertico-map (kbd "C-u")
+ (lambda () (interactive) (vertico-previous (/ vertico-count 2)))))
+
(when (gx/maybe-require-package 'orderless)
(setq orderless-matching-styles '(orderless-literal orderless-regexp))