Skip to main content
3 votes
Accepted

How save changed in all buffers (Embark export: consult-grep)?

You can use wgrep for that. Install and load it, then in the 'Exported grep results' buffer press C-c C-p (wgrep-change-to-wgrep-mode), replace the strings, and finish by pressing C-x C-s (wgrep-...
dalanicolai's user avatar
  • 7,865
3 votes

Using narrow function in consult

Is C-x C-f bound to find-file for you? If so, that's not a consult command, and so it doesn't support narrowing (although not all consult commands support narrowing). Try C-x b (consult-buffer), then ...
gsgx's user avatar
  • 208
3 votes

consult-find - can't find only folders (without files)

I just checked and indeed consult-find uses find underneath through the variable consult-find-args whose default value is find . -not ( -wholename */.* -prune ). So try throwing in a -type d in there ...
NickD's user avatar
  • 30.9k
3 votes
Accepted

consult-find - can't find only folders (without files)

Both answers (@NickD' and the OP's) are right in that consult-find is running find and that passing type d to it is the way to achieve the desired effect. But both of them suggested to create a ...
gusbrs's user avatar
  • 796
2 votes

How to properly use consult-ripgrep to search through org-roam notes

So I looked at the consul-ripgrep and consul-grep documentation and I'm still not entirely sure how the INITIAL parameter is meant to be used however I took your code and just added an empty string as ...
trollybus's user avatar
2 votes
Accepted

project.el: override project-find-regexp with use-package to show live results like project-find-file (preferably with consult)?

You cat just use consult-ripgrep to override project-find-regexp through: (advice-add #'project-find-regexp :override #'consult-ripgrep)
Tianshu Wang's user avatar
  • 1,784
2 votes
Accepted

What is the meaning of the # character that is automatically inserted when calling `consult`?

It indicates that consult should split your query on #. Consult splits your search query according to a style, defined by consult-async-split-style. The default style is 'perl, which allows you to ...
iWahbe's user avatar
  • 36
1 vote
Accepted

how to move `consult-yank-pop` selected entry to top of kill ring after selection?

Is your value of consult-yank-rotate non-nil? When this variable is non-nil the yanked value should be at the top of the kill ring on the next yank.
orgtre's user avatar
  • 1,080
1 vote

consult command for isearch?

This should be similar to swiper-from-isearch: (defun consult-line-from-isearch () "Call `consult-line` with the search string from the last `isearch`." (interactive) (consult-line ...
Victor Rybynok's user avatar
1 vote

consult command for isearch?

(use-package orderless :ensure t :init (setq completion-styles '(orderless) completion-category-defaults nil completion-category-overrides '((file (styles . (partial-completion)))))) You ...
Julio Ramirez 's user avatar
1 vote

consult-find - can't find only folders (without files)

I found solution. From documentation: Consult splits the input string into two parts, if the first character is a punctuation character, like #. For example #grep-regexps#filter-string, is split at ...
a_subscriber's user avatar
  • 4,174
1 vote

Disable `icomplete` with Emacs `find-file`

I had to do a little digging for this one. find-file and others like it use the function find-file-noselect, which, in turn, uses the function given by the variable read-file-name-function in order to ...
Taylor Grinn's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible