diff --git a/init.d/basics/ui.el b/init.d/basics/ui.el index 208f4dd..6222cac 100644 --- a/init.d/basics/ui.el +++ b/init.d/basics/ui.el @@ -1,6 +1,6 @@ ;;; ui.el --- Configure user interfaces. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-11-29T15:49:11+0100> +;; Time-stamp: <2020-12-08T13:01:35+0100> ;;; Commentary: ;; * treemacs @@ -125,5 +125,11 @@ (tab-line-tab-current ((t (:inherit ruler-mode-fill-column)))) (tab-line-highlight ((t (:inherit tab-line-tab-current)))))) +;; Sorting and filtering for ivy. +(use-package ivy-prescient + :after (prescient counsel) + :custom (ivy-prescient-retain-classic-highlighting t) + :hook (after-init . ivy-prescient-mode)) + (provide 'basics/ui) ;;; ui.el ends here diff --git a/init.d/misc/libs.el b/init.d/misc/libs.el index c39d607..f4bbb01 100644 --- a/init.d/misc/libs.el +++ b/init.d/misc/libs.el @@ -9,5 +9,8 @@ (use-package hexrgb :commands (hexrgb-increment-equal-rgb)) +;; Sorting and filtering, library. +(use-package prescient) + (provide 'misc/libs) ;;; libs.el ends here diff --git a/init.d/programming/common.el b/init.d/programming/common.el index 5a136ac..9f391c3 100644 --- a/init.d/programming/common.el +++ b/init.d/programming/common.el @@ -1,6 +1,6 @@ ;;; common.el --- Common programming settings. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-12-05T15:53:29+0100> +;; Time-stamp: <2020-12-08T12:50:22+0100> ;;; Commentary: @@ -78,20 +78,16 @@ ("TAB" . company-complete-selection)) ; Tab in terminals. :hook (after-init . global-company-mode)) -;; Fuzzy autocompletion for company. -(use-package company-flx - :after company - :config (company-flx-mode +1)) - -(use-package company-statistics - :after company - :hook (after-init . company-statistics-mode)) - ;; Documentation popups for completions. (use-package company-quickhelp :config (company-quickhelp-mode)) ) ; unless slow-computer. +;; Sorting and filtering for company. +(use-package company-prescient + :after (prescient company) + :hook (after-init . company-prescient-mode)) + ;; Automatic project management. (unless slow-computer (use-package projectile