Add marginalia to v4
This commit is contained in:
parent
fa3b36dafc
commit
1f4e6f158e
|
@ -204,23 +204,13 @@ match all of the components in any order."
|
||||||
:init
|
:init
|
||||||
(savehist-mode))
|
(savehist-mode))
|
||||||
|
|
||||||
(when-not-wm
|
|
||||||
;; Minibuffer related stuff
|
|
||||||
(use! marginalia
|
(use! marginalia
|
||||||
"Adds useful info to minibuffers completions."
|
"Adds useful info to minibuffers completions."
|
||||||
;; Bind `marginalia-cycle' locally in the minibuffer. To make the binding
|
:commands marginalia-mode
|
||||||
;; available in the *Completions* buffer, add it to the
|
:hook (emacs-startup . marginalia-mode))
|
||||||
;; `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))
|
|
||||||
|
|
||||||
|
(when-not-wm
|
||||||
|
;; Minibuffer related stuff
|
||||||
(use! ctrlf
|
(use! ctrlf
|
||||||
"Single buffer text search."
|
"Single buffer text search."
|
||||||
:config
|
:config
|
||||||
|
|
|
@ -51,7 +51,6 @@
|
||||||
slock,
|
slock,
|
||||||
|
|
||||||
supportPython ? true,
|
supportPython ? true,
|
||||||
|
|
||||||
supportVerilog ? true,
|
supportVerilog ? true,
|
||||||
svls,
|
svls,
|
||||||
verilator,
|
verilator,
|
||||||
|
@ -97,6 +96,7 @@ let
|
||||||
]) ++ (lib.optional (supportWM && stdenv.isLinux) [
|
]) ++ (lib.optional (supportWM && stdenv.isLinux) [
|
||||||
# Window manager supports works on Linux only
|
# Window manager supports works on Linux only
|
||||||
xorg.xhost
|
xorg.xhost
|
||||||
|
slock
|
||||||
]);
|
]);
|
||||||
|
|
||||||
paths = map (x: "${x}/bin/") (lib.lists.flatten runtimeBins);
|
paths = map (x: "${x}/bin/") (lib.lists.flatten runtimeBins);
|
||||||
|
|
Loading…
Reference in New Issue