diff options
author | Amin Bandali <bandali@gnu.org> | 2019-11-13 23:17:20 -0500 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2019-11-13 23:17:20 -0500 |
commit | ab1f4969d0a2c97ce494bdf2bae6a93bd5273420 (patch) | |
tree | 4b53cf2bd0ea340392fa7a34ac2111b7e0496a11 | |
parent | 65b26ac3e2b46734debdf395479d256f43cfcd20 (diff) | |
download | configs-ab1f4969d0a2c97ce494bdf2bae6a93bd5273420.tar.gz configs-ab1f4969d0a2c97ce494bdf2bae6a93bd5273420.tar.xz configs-ab1f4969d0a2c97ce494bdf2bae6a93bd5273420.zip |
emacs: simplify/tweak swiper and counsel use-packages
-rw-r--r-- | .emacs.d/init.el | 12 |
1 files changed, 5 insertions, 7 deletions
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)) |