Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for file-local target search (maybe using the universal argument) #82

Open
novoid opened this issue Jan 24, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@novoid
Copy link

novoid commented Jan 24, 2023

Hi,

I do have a fairly large org-mode file setup. Therefore, any invocation of org-super-links takes a while before it shows me the potential link targets.

I noticed that commands like sl-quick-insert-drawer-link do not use the universal argument (C-u) so far. How about adding the universal argument to all suitable functions so that the target space is limited to the current file only? I guess this would also improve the situation for people using many (small) files in a Zettelkasten-(like-)setup.

Therefore: M-x sl-quick-insert-drawer-link RET foobar RET -> same behavior as so far: looking for all matching headings in all agenda files.

New behavior: C-u M-x sl-quick-insert-drawer-link RET foobar RET -> looking for all matching headings in the current buffer only. -> hopefully much, much faster.

@toshism toshism added the enhancement New feature or request label Apr 27, 2023
@toshism
Copy link
Owner

toshism commented Apr 27, 2023

Yeah, I like that idea. I'll try to work on that. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants