Emacs: Use prescient for sorting and filtering ivy and company.
This commit is contained in:
parent
5d82c3f752
commit
c8b6a6bc90
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue