From 282f5832ca2ab57bc279ec7707c04aba0e18c942 Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Thu, 6 Aug 2026 16:13:06 -0400 Subject: better consult junk --- .config/emacs/ide.el | 2 ++ .config/emacs/init.el | 1 + .config/emacs/misc.el | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) (limited to '.config/emacs') diff --git a/.config/emacs/ide.el b/.config/emacs/ide.el index dbfe017..1b37bb0 100644 --- a/.config/emacs/ide.el +++ b/.config/emacs/ide.el @@ -3,5 +3,7 @@ :custom (dumb-jump-prefer-searcher 'rg) (xref-show-definitions-function #'consult-xref) + (xref-show-xrefs-function #'consult-xref) + (xref-prompt-for-identifier nil) :config (add-hook 'xref-backend-functions #'dumb-jump-xref-activate)) diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 53ca7ec..e109dc2 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -38,6 +38,7 @@ ;; todo: integrated terminal, org config with modules, full screen popups, shackle, terminal at bottom ;; todo styling: minions (modeline collapse), karthink's modeline, forked theme to enable: hl-line, spacious-padding, pulsar +;; fixes: consult-line keeps doesn't preview until you move off first, cape dabbrev doesn't seem to be working ;; ghostel should have a terminal per project that has it's own open close keybind (showing on the bottom). It should also be able to be switched to the side with a keybind. ;; I should be able to open a buffer as a "popup". also winner mode for going undo diff --git a/.config/emacs/misc.el b/.config/emacs/misc.el index b4cabe7..9ca5954 100644 --- a/.config/emacs/misc.el +++ b/.config/emacs/misc.el @@ -18,7 +18,7 @@ (use-package consult :ensure t :custom - (consult-preview-key nil) + (consult-preview-key 'any) :bind (("M-y" . 'consult-yank-pop) ;; Paste by selecting the kill-ring ("M-s" . 'consult-line) ;; Search current buffer swiper ("C-c i" . 'consult-imenu))) ;; Search the imenu -- cgit v1.2.3