projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
65b26ac
)
emacs: simplify/tweak swiper and counsel use-packages
author
Amin Bandali
<bandali@gnu.org>
Thu, 14 Nov 2019 04:17:20 +0000
(23:17 -0500)
committer
Amin Bandali
<bandali@gnu.org>
Thu, 14 Nov 2019 04:17:20 +0000
(23:17 -0500)
.emacs.d/init.el
patch
|
blob
|
blame
|
history
diff --git
a/.emacs.d/init.el
b/.emacs.d/init.el
index
e249f9b
..
06fd31f
100644
(file)
--- 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
(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
(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
:map minibuffer-local-map
-
("C-r" . counsel-minibuffer-history))
+ ("C-r" . counsel-minibuffer-history))
:config
(counsel-mode 1)
(defalias 'locate #'counsel-locate))
:config
(counsel-mode 1)
(defalias 'locate #'counsel-locate))