aboutsummaryrefslogtreecommitdiff
path: root/mixins/ui.el
diff options
context:
space:
mode:
authorAshton Wiersdorf <mail@wiersdorf.dev>2023-03-21 11:43:17 -0600
committerAshton Wiersdorf <mail@wiersdorf.dev>2023-03-21 11:43:17 -0600
commitc0f40005ba5890f82212deedfe81af9bb53c26af (patch)
treef92950fc3c1f889e2b04d5848970e35607b9cbfa /mixins/ui.el
parentfe99f00683ab087748be5c89f3cca4523bfbf536 (diff)
Rename mixins/ui.el → mixins/base.el; add some researcher config
Diffstat (limited to 'mixins/ui.el')
-rw-r--r--mixins/ui.el93
1 files changed, 0 insertions, 93 deletions
diff --git a/mixins/ui.el b/mixins/ui.el
deleted file mode 100644
index 4a3f003..0000000
--- a/mixins/ui.el
+++ /dev/null
@@ -1,93 +0,0 @@
-;;; Emacs Bedrock
-;;;
-;;; Mixin: UI enhancements
-
-;;; Usage: Append or require this file from init.el to enable various UI/UX
-;;; enhancements.
-
-;;; Contents:
-;;;
-;;; - Motion aids
-;;; - Minibuffer and completion
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;;
-;;; Motion aids
-;;;
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-(use-package avy
- :ensure t
- :bind (("C-c j" . avy-goto-line)
- ("s-j" . avy-goto-char-timer)))
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;;
-;;; Minibuffer and completion
-;;;
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-;; Vertico: better vertical completion for minibuffer commands
-(use-package vertico
- :ensure t
- :init
- (fido-mode -1)
- (vertico-mode))
-
-;; Marginalia: annotations for minibuffer
-(use-package marginalia
- :ensure t
- :config
- (marginalia-mode))
-
-;; Popup completion-at-point
-(use-package corfu
- :ensure t
- :config
- (global-corfu-mode))
-
-;; Part of corfu
-(use-package corfu-popupinfo
- :after corfu
- :hook (corfu-mode . corfu-popupinfo-mode)
- :custom
- (corfu-popupinfo-delay '(0.25 . 0.1))
- (corfu-popupinfo-hide nil)
- :config
- (corfu-popupinfo-mode))
-
-;; Make corfu popup come up in terminal overlay
-(use-package corfu-terminal
- :if (not (display-graphic-p))
- :ensure t
- :config
- (corfu-terminal-mode))
-
-;; Pretty icons for corfu
-(use-package kind-icon
- :if (display-graphic-p)
- :ensure t
- :after corfu
- :config
- (add-to-list 'corfu-margin-formatters #'kind-icon-margin-formatter))
-
-;; Consult: Misc. enhanced commands
-(use-package consult
- :ensure t
- ;; Other good things to bind: consult-ripgrep, consult-line-multi,
- ;; consult-history, consult-outline, consult-error
- :bind (("C-x b" . consult-buffer) ;; orig. switch-to-buffer
- ("M-y" . consult-yank-pop) ;; orig. yank-pop
- ("C-s" . consult-line)) ;; orig. isearch
- :config
- ;; Narrowing lets you restrict results to certain groups of candidates
- (setq consult-narrow-key "<"))
-
-(use-package eshell
- :bind (("C-r" . consult-history)))
-
-;; Orderless: powerful completion style
-(use-package orderless
- :ensure t
- :config
- (setq completion-styles '(orderless)))