Add ivy-prescient to prelude-ivy
This commit is contained in:
parent
b874b2faff
commit
ea748e2e3e
2 changed files with 6 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
||||||
* Auto-install `adoc-mode` for AsciiDoc files.
|
* Auto-install `adoc-mode` for AsciiDoc files.
|
||||||
* Add the `ag` package. It provides a nice alternative to `grep` and has nice Projectile integration.
|
* Add the `ag` package. It provides a nice alternative to `grep` and has nice Projectile integration.
|
||||||
* Added additional configuration modules for WSL (`prelude-wsl`) and Windows (`prelude-windows`).
|
* Added additional configuration modules for WSL (`prelude-wsl`) and Windows (`prelude-windows`).
|
||||||
|
* Add `ivy-prescient` to `prelude-ivy`.
|
||||||
|
|
||||||
### Changes
|
### Changes
|
||||||
|
|
||||||
|
|
|
@ -32,12 +32,13 @@
|
||||||
;; Boston, MA 02110-1301, USA.
|
;; Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
(prelude-require-packages '(ivy swiper counsel))
|
(prelude-require-packages '(ivy ivy-prescient swiper counsel))
|
||||||
|
|
||||||
;;; Ivy
|
;;; Ivy
|
||||||
;; ivy is a powerful alternative to the popular ido-mode
|
;; ivy is a powerful alternative to the popular ido-mode
|
||||||
|
|
||||||
(require 'ivy)
|
(require 'ivy)
|
||||||
|
(require 'ivy-prescient)
|
||||||
(require 'diminish)
|
(require 'diminish)
|
||||||
|
|
||||||
(ivy-mode 1)
|
(ivy-mode 1)
|
||||||
|
@ -46,6 +47,9 @@
|
||||||
(global-set-key (kbd "C-c C-r") 'ivy-resume)
|
(global-set-key (kbd "C-c C-r") 'ivy-resume)
|
||||||
(global-set-key (kbd "<f6>") 'ivy-resume)
|
(global-set-key (kbd "<f6>") 'ivy-resume)
|
||||||
|
|
||||||
|
;; smarter filtering and sorting for ivy
|
||||||
|
(ivy-prescient-mode 1)
|
||||||
|
|
||||||
(diminish 'ivy-mode)
|
(diminish 'ivy-mode)
|
||||||
|
|
||||||
(setq projectile-completion-system 'ivy)
|
(setq projectile-completion-system 'ivy)
|
||||||
|
|
Loading…
Reference in a new issue