counsel: use custom instead of hooks
This commit is contained in:
parent
5661582652
commit
a8ed97fdf8
1 changed files with 3 additions and 2 deletions
|
@ -33,6 +33,8 @@
|
||||||
|
|
||||||
(use-package ivy
|
(use-package ivy
|
||||||
:custom
|
:custom
|
||||||
|
(ivy-mode t)
|
||||||
|
(counsel-mode t)
|
||||||
(ivy-use-virtual-buffers t)
|
(ivy-use-virtual-buffers t)
|
||||||
:bind (("C-s" . swiper-isearch)
|
:bind (("C-s" . swiper-isearch)
|
||||||
("C-c C-r" . ivy-resume)
|
("C-c C-r" . ivy-resume)
|
||||||
|
@ -51,8 +53,7 @@
|
||||||
("C-x l" . counsel-locate)
|
("C-x l" . counsel-locate)
|
||||||
("C-S-o" . counsel-rhythmbox)
|
("C-S-o" . counsel-rhythmbox)
|
||||||
:map minibuffer-local-map
|
:map minibuffer-local-map
|
||||||
("C-r" . counsel-minibuffer-history))
|
("C-r" . counsel-minibuffer-history)))
|
||||||
:hook (after-init . ivy-mode))
|
|
||||||
|
|
||||||
(use-package savehist
|
(use-package savehist
|
||||||
:defer t
|
:defer t
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue