Replies: 2 comments 9 replies
-
What's wrong with |
Beta Was this translation helpful? Give feedback.
2 replies
-
I've added :initial-narrow in a5ffca7. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Daniel, thanks for making Consult (and the rest of your excellent packages).
I guess the
consult-project-buffer
behavior makes sense for remappingproject-switch-to-buffer
, but in my case I am looking to make a DWIMconsult-buffer
wrapper that callsconsult-buffer
with preset project narrowing when inside a project, while still allowing me toDEL
to return to the fullconsult-buffer-sources
in case I realize I wasn’t looking for something in my current project.As far as I can tell, there is no way to do this with
consult--multi
/consult--read
(short of a keyboard macro callingC-x b p SPC
).:narrow
is used byconsult--multi
to define the full set of narrowing options, but I am looking for something like:initial-narrow
. I guess it could take a character argument for the initial source to narrow?A semi-related discussion is #894. But I don’t think
:hidden
is what I am after since it’s fixed whenconsult--multi
is called and can’t be modified interactively like narrowing.Beta Was this translation helpful? Give feedback.
All reactions