Add marginalia to v4

This commit is contained in:
Sameer Rahmani 2024-03-27 00:23:28 +00:00
parent fa3b36dafc
commit 1f4e6f158e
Signed by: lxsameer
GPG Key ID: 8741FACBF412FFA5
2 changed files with 5 additions and 15 deletions

View File

@ -204,23 +204,13 @@ match all of the components in any order."
:init
(savehist-mode))
(when-not-wm
;; Minibuffer related stuff
(use! marginalia
"Adds useful info to minibuffers completions."
;; Bind `marginalia-cycle' locally in the minibuffer. To make the binding
;; available in the *Completions* buffer, add it to the
;; `completion-list-mode-map'.
:bind (:map minibuffer-local-map
("M-A" . marginalia-cycle))
;; The :init section is always executed.
:init
;; Since we used `:bind', `use!' assumes `:defer', but we want
;; this mode to start right away.
(require 'marginalia)
(marginalia-mode))
:commands marginalia-mode
:hook (emacs-startup . marginalia-mode))
(when-not-wm
;; Minibuffer related stuff
(use! ctrlf
"Single buffer text search."
:config

View File

@ -51,7 +51,6 @@
slock,
supportPython ? true,
supportVerilog ? true,
svls,
verilator,
@ -97,6 +96,7 @@ let
]) ++ (lib.optional (supportWM && stdenv.isLinux) [
# Window manager supports works on Linux only
xorg.xhost
slock
]);
paths = map (x: "${x}/bin/") (lib.lists.flatten runtimeBins);