Use ivy as completion framework
This commit is contained in:
parent
5d9219329f
commit
e9d23cc7aa
1 changed files with 21 additions and 0 deletions
|
|
@ -47,3 +47,24 @@
|
||||||
(use-package material-theme
|
(use-package material-theme
|
||||||
:config
|
:config
|
||||||
(load-theme 'material t))
|
(load-theme 'material t))
|
||||||
|
|
||||||
|
(use-package counsel
|
||||||
|
:bind (("C-s" . swiper-isearch)
|
||||||
|
("M-x" . counsel-M-x)
|
||||||
|
("M-y" . counsel-yank-pop)
|
||||||
|
("<f1> f" . counsel-describe-function)
|
||||||
|
("<f1> v" . counsel-describe-variable)
|
||||||
|
("C-x C-f" . counsel-find-file)
|
||||||
|
("C-x b" . ivy-switch-buffer)
|
||||||
|
("C-x d" . counsel-dired)
|
||||||
|
("C-c u" . counsel-unicode-char)
|
||||||
|
("C-c v" . ivy-push-view)
|
||||||
|
("C-c V" . ivy-pop-view)
|
||||||
|
:map ivy-minibuffer-map
|
||||||
|
("C-<return>" . ivy-immediate-done))
|
||||||
|
:config
|
||||||
|
(setq ivy-re-builders-alist
|
||||||
|
'((t . ivy--regex-ignore-order)))
|
||||||
|
:custom
|
||||||
|
(ivy-mode 1)
|
||||||
|
(ivy-count-format "(%d/%d) "))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue