Questions tagged [consult]
The consult tag has no usage guidance.
19
questions
0
votes
0
answers
91
views
consult-ripgrep - Error running timer: (file-missing "Searching for program" "No such file or directory" "rg")
Emacs 29.3 GNU (Flatpak) - installed by Software Manager
Linux Mint 21.3
Install ripgrep:
apt install ripgrep
In init.el
(use-package rg
:ensure t
:ensure-system-package rg)
(use-package consult
...
0
votes
1
answer
32
views
What is the meaning of the # character that is automatically inserted when calling `consult`?
For example, when calling consult-line-multi, the minibuffer starts with #, which is annoying when using C-a to edit the query.
0
votes
0
answers
14
views
Can I simultaneously search form recentf and locate with consult?
Is it possible to merge data sources with consult? My use case would be to search both from locate and recentf. Is that possible? How to accomplish this?
1
vote
1
answer
183
views
How save changed in all buffers (Embark export: consult-grep)?
consult-grep
#hello#
embark-export
C-x C-q
replace-string
hello -> hi
As you can see it's change in buffer "Embark Export: consult-grep".
But how to save this changes in all files (...
0
votes
2
answers
279
views
How preview find file without close minibuffer
Emacs 27.1
packages:
consult
embark
I want to find test.txt file in folder temp.
I do this.
Now I want to preview selected file without close minibuffer. In embark I'm not operation for this.
How I ...
0
votes
0
answers
808
views
consult-find - live preview result without close minibuffer?
Emacs 27.1
package consult.
Here my init.el for package "consult":
(use-package consult
:bind (
;; C-c bindings (mode-specific-map)
("C-c M-x" . consult-mode-...
0
votes
2
answers
666
views
consult-man, consult-grep, etc. don't match anything
Emacs 29.0.60 running on Windows 10 with Msys2 and Git for Windows.
I'm trying out the consult package, particularly functions such as consult-grep and consult-man, and I'm finding that I apparently ...
0
votes
1
answer
183
views
Why consult-recent-file show also recent directories?
Emacs 27.1
package: consult ver.0.32
Here my init.el
(use-package consult
:config (message "consult - I'm always here after the package is loaded")
(add-hook 'dired-mode-hook (lambda () (...
0
votes
1
answer
622
views
Using narrow function in consult
;; Optionally configure the narrowing key.
;; Both `<` and `C-+` work reasonably well.
I don't get how, am able to search. If I press C-x C-f to find a file, then a try to C-+ or <, but nothing ...
0
votes
1
answer
120
views
how to move `consult-yank-pop` selected entry to top of kill ring after selection?
I'm using the package consult, so after I press M-y (consult-yank-pop) without pressing C-y (yank) first, I get a list for me to choose. Say, I get the list in the kill ring as
a
b
c
d
If I navigate ...
2
votes
2
answers
2k
views
How to properly use consult-ripgrep to search through org-roam notes
I am trying to setup a way to systematically search through all my org-roam notes and I came across the following code that uses consult-ripgrep:
(defun bms/org-roam-rg-search ()
"Search org-...
0
votes
1
answer
485
views
How to define consult faces generically for minibuffer highlighting that fits with your selected theme?
Background
I'm experimenting with different themes to see which one I prefer. I'm giving a theme time to soak, so to speak, by using it for a few weeks. At the moment I'm trying the paganini theme.
...
1
vote
1
answer
701
views
project.el: override project-find-regexp with use-package to show live results like project-find-file (preferably with consult)?
When switching projects, there's a few commands available off the bat that can be selected from the mini-buffer after selecting a project.
[f] Find file [g] Find regexp [d] Find directory ...
Both ...
0
votes
2
answers
1k
views
consult command for isearch?
I was using ivy+swiper for a while, and it has swiper-from-isearch which gives a nice occur-like UI for finding isearch matches. I switched to vertico + consult recently.
I see that consult has ...
0
votes
2
answers
197
views
How to ignore dired buffers and buffers that begin with * or SPC when switching buffer in Vertico + Consult?
I am currently an ivy user, trying out vertico + consult.
For ivy I am using the following
(defun rit-check-buffer-mode (str mode)
"Check whether the buffer's major mode is `mode'."
(let ...
1
vote
3
answers
1k
views
consult-find - can't find only folders (without files)
Linux Mint 20
Emacs 27.2
I want to find ONLY folders target (include empty) in some folder (e.g myProject)
Steps:
In dired mode
M-x consult-find
/target
And here result:
As you can see it found ...
0
votes
1
answer
130
views
Is it possible automate switch to window *Completions*?
Linux Mint 20
Emacs 27.1
Install package: Consult, Vertico, Embark
Steps:
M-x shell
Input
cat test.
and press TAB
Open window *Completions* with possible candidates. Nice... but the cursor is not ...
4
votes
0
answers
709
views
How to exclude certain directories/files from `consult-git-grep` search?
I want to exlude certain files such as .gitignore in consult-git-grep search.
consult-git-grep works find with following defualt setup:
(setq consult-git-grep-args "git --no-pager grep -F -n --...
0
votes
1
answer
477
views
Disable `icomplete` with Emacs `find-file`
I have been experimenting with various completion frameworks in Emacs. I am currently using consult together with icomplete. I like the way things are working for me but I would like to disable ...