More packages, slight tweaks elsewhere
This commit is contained in:
parent
068f63d507
commit
ea498b169d
@ -27,3 +27,6 @@
|
|||||||
|
|
||||||
;; Prettify symbols (eg. lambda -> λ).
|
;; Prettify symbols (eg. lambda -> λ).
|
||||||
(global-prettify-symbols-mode)
|
(global-prettify-symbols-mode)
|
||||||
|
|
||||||
|
;; Enable mouse support.
|
||||||
|
(xterm-mouse-mode +1)
|
||||||
|
5
init.el
5
init.el
@ -28,6 +28,11 @@
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
;; On macOS, `ls` does not support the `--dired` option.
|
||||||
|
(when (string= system-type "darwin")
|
||||||
|
(setq dired-use-ls-dired nil))
|
||||||
|
|
||||||
|
|
||||||
;; Define a couple simple helper functions for loading user-defined
|
;; Define a couple simple helper functions for loading user-defined
|
||||||
;; configuration files.
|
;; configuration files.
|
||||||
|
|
||||||
|
9
pkg/marginalia.el
Normal file
9
pkg/marginalia.el
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
;; Marginalia in the minibuffer.
|
||||||
|
;; https://github.com/minad/marginalia/
|
||||||
|
(use-package marginalia
|
||||||
|
:ensure t
|
||||||
|
:bind
|
||||||
|
(:map minibuffer-local-map
|
||||||
|
("M-A" . marginalia-cycle))
|
||||||
|
:init
|
||||||
|
(marginalia-mode))
|
8
pkg/nerd-icons-completion.el
Normal file
8
pkg/nerd-icons-completion.el
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
;; Use Nerd Icons in completions.
|
||||||
|
;; https://github.com/rainstormstudio/nerd-icons-completion
|
||||||
|
(use-package nerd-icons-completion
|
||||||
|
:ensure t
|
||||||
|
:after marginalia
|
||||||
|
:config
|
||||||
|
(nerd-icons-completion-mode)
|
||||||
|
(add-hook 'marginalia-mode-hook #'nerd-icons-completion-marginalia-setup))
|
7
pkg/orderless.el
Normal file
7
pkg/orderless.el
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
;;Emacs completion style that matches multiple regexps in any order.
|
||||||
|
;; https://github.com/oantolin/orderless
|
||||||
|
(use-package orderless
|
||||||
|
:ensure t
|
||||||
|
:custom
|
||||||
|
(completion-styles '(orderless basic))
|
||||||
|
(completion-category-overrides '((file (styles basic partial-completion)))))
|
Loading…
Reference in New Issue
Block a user