+ todos, tried marginalia, inactive so far, doesnt work w/ smex

This commit is contained in:
2023-05-17 12:36:40 +02:00
parent 35d8168e23
commit a972a2352c
3 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
- replace smex with https://github.com/DarwinAwardWinner/amx
- try to marry amx and marginalia somehow
- try https://github.com/oantolin/embark

View File

@@ -156,6 +156,9 @@
(require 'init-recentfiles)
(require 'init-ibuffer)
(require 'init-printing)
;; doesn't work with smex, only after <tab><tab> and shows in another buffer
;; (require 'init-marginalia)
(require 'init-ui)

15
lisp/init-marginalia.el Normal file
View File

@@ -0,0 +1,15 @@
;; Enable rich annotations using the Marginalia package
(use-package marginalia
;; Either bind `marginalia-cycle' globally or only in the minibuffer
:bind ( :map minibuffer-local-map
("M-n" . marginalia-cycle))
;; The :init configuration is always executed (Not lazy!)
:init
;; Must be in the :init section of use-package such that the mode gets
;; enabled right away. Note that this forces loading the package.
(marginalia-mode))
(provide 'init-marginalia)
;;; init-marginalia ends here