commit ea9dfaf945331cc35120167a8e4f424ae79225b8
parent 137da69625eb950d3d549be975062ee63b00f29b
Author: dwrz <dwrz@dwrz.net>
Date: Mon, 11 Dec 2023 13:26:21 +0000
Update Emacs init
Diffstat:
1 file changed, 0 insertions(+), 7 deletions(-)
diff --git a/emacs/init.el b/emacs/init.el
@@ -149,7 +149,6 @@
(add-to-list 'completion-at-point-functions #'cape-rfc1345)
(add-to-list 'completion-at-point-functions #'cape-elisp-block)
(add-to-list 'completion-at-point-functions #'cape-elisp-symbol)
- (add-to-list 'completion-at-point-functions #'cape-line)
:ensure t)
(use-package cc-vars :config (setq-default c-basic-offset 8) :ensure nil)
@@ -213,8 +212,6 @@
;; :map minibuffer-local-map
;; ("M-s" . consult-history) ;; orig. next-matching-history-element
;; ("M-r" . consult-history)) ;; orig. previous-matching-history-element
- ;; Enable automatic preview at point in the *Completions* buffer. This is
- ;; relevant when you use the default completion UI.
:hook (completion-list-mode . consult-preview-at-point-mode)
:init
(setq register-preview-delay 0
@@ -225,9 +222,6 @@
:config
;; Optionally configure preview. The default value
;; is 'any, such that any key triggers the preview.
- ;; (setq consult-preview-key 'any)
- ;; (setq consult-preview-key "M-.")
- ;; (setq consult-preview-key '("S-<down>" "S-<up>"))
;; For some commands and buffer sources it is useful to configure the
;; :preview-key on a per-command basis using the `consult-customize' macro.
(consult-customize
@@ -236,7 +230,6 @@
consult-bookmark consult-recent-file consult-xref
consult--source-bookmark consult--source-file-register
consult--source-recent-file consult--source-project-recent-file
- ;; :preview-key "M-."
:preview-key '(:debounce 0.4 any))
;; Optionally configure the narrowing key.