Use ivy as completion framework

This commit is contained in:
Ohad Livne 2025-06-04 22:44:25 +03:00
parent 5d9219329f
commit e9d23cc7aa
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D

View file

@ -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) "))