mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
feat(editor): replace ido and amx with selectrum, prescient and marginalia
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
(ido-default-file-method 'selected-window)
|
||||
(ido-enable-flex-matching t)
|
||||
(ido-enable-prefix nil)
|
||||
(ido-max-prospects 10)
|
||||
(ido-max-prospects 12)
|
||||
(ido-save-directory-list-file (expand-file-name "ido.hist" siren-cache-dir))
|
||||
(ido-use-faces t)
|
||||
(ido-use-filename-at-point nil)
|
||||
|
||||
16
modules/editor/siren-marginalia.el
Normal file
16
modules/editor/siren-marginalia.el
Normal file
@@ -0,0 +1,16 @@
|
||||
;;; siren-marginalia.el --- jimeh's Emacs Siren: marginalia configuration.
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
;; Basic configuration for marginalia.
|
||||
|
||||
;;; Code:
|
||||
|
||||
(use-package marginalia
|
||||
:bind (:map minibuffer-local-map
|
||||
("M-A" . marginalia-cycle))
|
||||
:init
|
||||
(marginalia-mode +1))
|
||||
|
||||
(provide 'siren-marginalia)
|
||||
;;; siren-marginalia.el ends here
|
||||
31
modules/editor/siren-prescient.el
Normal file
31
modules/editor/siren-prescient.el
Normal file
@@ -0,0 +1,31 @@
|
||||
;;; siren-prescient.el --- jimeh's Emacs Siren: prescient configuration.
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
;; Basic configuration for prescient.
|
||||
|
||||
;;; Code:
|
||||
|
||||
(use-package prescient
|
||||
:defer t
|
||||
|
||||
:custom
|
||||
(prescient-filter-method '(literal-prefix literal regexp initialism fuzzy))
|
||||
(prescient-history-length 100)
|
||||
(prescient-save-file (expand-file-name "prescient-save.el" siren-cache-dir))
|
||||
(prescient-sort-full-matches-first t)
|
||||
(prescient-sort-length-enable nil)
|
||||
|
||||
:config
|
||||
(prescient-persist-mode +1))
|
||||
|
||||
(use-package company-prescient
|
||||
:defer t
|
||||
:after (prescient company)
|
||||
|
||||
:config
|
||||
(company-prescient-mode +1))
|
||||
|
||||
|
||||
(provide 'siren-prescient)
|
||||
;;; siren-prescient.el ends here
|
||||
@@ -9,14 +9,15 @@
|
||||
(require 'siren-prescient)
|
||||
|
||||
(use-package selectrum
|
||||
:straight (:host github :repo "raxod502/selectrum")
|
||||
:custom
|
||||
(selectrum-display-action nil)
|
||||
(selectrum-fix-vertical-window-height t)
|
||||
(selectrum-max-window-height 12)
|
||||
|
||||
:config
|
||||
(selectrum-mode +1))
|
||||
|
||||
(use-package selectrum-prescient
|
||||
:straight (:host github :repo "raxod502/prescient.el"
|
||||
:files ("selectrum-prescient.el"))
|
||||
:after (selectrum)
|
||||
|
||||
:config
|
||||
|
||||
Reference in New Issue
Block a user