summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el17
1 files changed, 1 insertions, 16 deletions
diff --git a/init.el b/init.el index 841b105..85647e5 100644 --- a/init.el +++ b/init.el
@@ -189,13 +189,6 @@
189;;;; Windows 189;;;; Windows
190(winner-mode +1) 190(winner-mode +1)
191 191
192;; Advise window-splitting to select a buffer afterword
193(dolist (func '(split-window-below
194 split-window-right
195 split-window-vertically
196 split-window-horizontally))
197 (advice-add func :after #'switch-to-buffer))
198
199;;;; Minibuffer 192;;;; Minibuffer
200(setc minibuffer-prompt-properties 193(setc minibuffer-prompt-properties
201 '(read-only t cursor-intangible t face minibuffer-prompt) 194 '(read-only t cursor-intangible t face minibuffer-prompt)
@@ -598,15 +591,7 @@ if ripgrep is installed, otherwise `consult-grep'."
598 xref-show-definitions-function #'consult-xref) 591 xref-show-definitions-function #'consult-xref)
599 592
600 ;; Projects 593 ;; Projects
601 (:option consult-project-root-function #'vc-root-dir) 594 (:option consult-project-root-function #'vc-root-dir))
602
603 ;; Advise `split-window-'* functions
604 (dolist (func '(split-window-below
605 split-window-right
606 split-window-vertically
607 split-window-horizontally))
608 (advice-remove func #'switch-to-buffer)
609 (advice-add func :after #'consult-buffer)))
610 595
611;;;;; Marginalia 596;;;;; Marginalia
612(setup (:straight marginalia) 597(setup (:straight marginalia)