From: Amin Bandali Date: Thu, 14 Nov 2019 04:17:20 +0000 (-0500) Subject: emacs: simplify/tweak swiper and counsel use-packages X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/ab1f4969d0a2c97ce494bdf2bae6a93bd5273420 emacs: simplify/tweak swiper and counsel use-packages --- diff --git a/.emacs.d/init.el b/.emacs.d/init.el index e249f9b..06fd31f 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1031,16 +1031,14 @@ This function is intended for use with `ivy-ignore-buffers'." (use-package swiper :demand :after ivy - :bind (("C-s" . swiper-isearch) - ("C-r" . swiper-isearch-backward) - ("C-S-s" . swiper-isearch))) + :bind (("C-S-s" . swiper-isearch))) (use-package counsel - :bind (;; ([remap execute-extended-command] . counsel-M-x) - ;; ([remap find-file] . counsel-find-file) - ("C-c f r" . counsel-recentf) + :demand + :after ivy + :bind (("C-c f r" . counsel-recentf) :map minibuffer-local-map - ("C-r" . counsel-minibuffer-history)) + ("C-r" . counsel-minibuffer-history)) :config (counsel-mode 1) (defalias 'locate #'counsel-locate))