diff options
Diffstat (limited to '.emacs.d/lisp/init-ivy.el')
-rw-r--r-- | .emacs.d/lisp/init-ivy.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.emacs.d/lisp/init-ivy.el b/.emacs.d/lisp/init-ivy.el index b1fb73a..52c92ff 100644 --- a/.emacs.d/lisp/init-ivy.el +++ b/.emacs.d/lisp/init-ivy.el @@ -1,6 +1,5 @@ -(use-package counsel :ensure t :defer t) - -(add-hook 'after-init-hook (lambda () (ivy-mode 1))) +(when (gx/maybe-require-package 'counsel) + (add-hook 'after-init-hook (lambda () (ivy-mode 1)))) (with-eval-after-load 'evil (evil-define-key 'normal ivy-mode-map |