Questions tagged [consult]
The consult tag has no usage guidance.
18
questions
0
votes
2
answers
38
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
91
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
50
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
54
views
Is it possible to set keybinding to show recent-dirs?
Emacs 27.1
package - consult
If I want to show recent dirs I do the next steps:
1. M-x consult-dir (C-x C-d)
2. Press "r"
3. Press SPACE
And only then show recent dirs!
But it's to many ...
0
votes
1
answer
46
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
90
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
33
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 ...
0
votes
1
answer
535
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
0
answers
27
views
How do I select lsp-mode function completion candidates?
I have company, lsp-mode, consult, yasnippet installed. I'm not sure which one triggers the following completion. How do I scroll over and select them?
0
votes
1
answer
189
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.
...
0
votes
0
answers
53
views
exclude archive subtrees from `consult-org-heading` search results
I would like to call the interactive command consult-org-heading (from the consult package) and exclude from search results all subtrees under org headings tagged ARCHIVE.
consult-org-heading (source) ...
1
vote
1
answer
340
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
1
answer
623
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
89
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 ...
0
votes
3
answers
523
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
71
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 ...
3
votes
0
answers
453
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
319
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 ...