123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- ;;; init-ivy.el --- .Emacs Configuration -*- lexical-binding: t -*-
- ;;; Commentary:
- ;;
- ;;; Code:
- (use-package counsel
- :after ivy
- :config (counsel-mode))
- (use-package ivy
- :defer 0.1
- :diminish
- :bind (("C-c C-r" . ivy-resume)
- ("C-x B" . ivy-switch-buffer-other-window))
- :commands ivy-mode
- :custom
- (ivy-count-format "(%d/%d) ")
- (ivy-use-virtual-buffers t)
- :config (ivy-mode))
- (use-package ivy-rich
- :after ivy
- :custom
- (ivy-virtual-abbreviate 'full
- ivy-rich-switch-buffer-align-virtual-buffer t
- ivy-rich-path-style 'abbrev)
- :commands ivy-set-display-transformer
- :config
- (ivy-set-display-transformer 'ivy-switch-buffer
- 'ivy-rich-switch-buffer-transformer))
- ;; hydra
- (use-package hydra
- :pin "MELPA"
- :config (hydra-add-font-lock))
- (use-package ivy-hydra
- :pin "MELPA")
- (use-package swiper
- :after ivy
- :bind (("C-s" . swiper)
- ("C-r" . swiper)))
- (provide 'init-ivy)
- ;; Local Variables:
- ;; byte-compile-warnings: (not free-vars)
- ;; End:
- ;;; init-ivy.el ends here
|