diff options
author | Guangxiong Lin <[email protected]> | 2022-04-21 23:15:29 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-04-21 23:15:29 +0800 |
commit | 49aa78b8d2e01b275038eb3869660fde3a077423 (patch) | |
tree | 547062092e1407164e9521a2a29cc0152f85b92c /.emacs.d/lisp/init-minibuffer.el | |
parent | 660d23aabf0173df42a3404dd68d14a7caeedc8d (diff) | |
download | dotfiles-49aa78b8d2e01b275038eb3869660fde3a077423.tar.gz dotfiles-49aa78b8d2e01b275038eb3869660fde3a077423.tar.bz2 dotfiles-49aa78b8d2e01b275038eb3869660fde3a077423.zip |
Add more autoload in emacs
Diffstat (limited to '.emacs.d/lisp/init-minibuffer.el')
-rw-r--r-- | .emacs.d/lisp/init-minibuffer.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-minibuffer.el b/.emacs.d/lisp/init-minibuffer.el index 32d5744..56c1164 100644 --- a/.emacs.d/lisp/init-minibuffer.el +++ b/.emacs.d/lisp/init-minibuffer.el @@ -1,6 +1,7 @@ ;; -*- lexical-binding: t -*- (when (gx/maybe-require-package 'vertico) + (autoload #'vertico-mode "vertico") (add-hook 'after-init-hook #'vertico-mode 'append)) (setq vertico-resize t @@ -47,6 +48,8 @@ "fd --type f --hidden --follow --exclude .git")) (when (gx/maybe-require-package 'affe) + (autoload 'affe-find "affe") + (autoload 'affe-grep "affe") (with-eval-after-load 'evil (evil-define-key 'normal 'global (kbd "<leader>ff") 'affe-find |