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 Imenu support #136

Closed
nbarrientos opened this issue Apr 14, 2022 · 2 comments · Fixed by #138
Closed

Add Imenu support #136

nbarrientos opened this issue Apr 14, 2022 · 2 comments · Fixed by #138

Comments

@nbarrientos
Copy link
Contributor

Hi,

It'd be nice if Imenu worked within ripgrep buffers, for instance if rg-group-result is enabled then it'd be cool if it allowed to navigate the list of files.

Perhaps to be combined with #132.

My idea is to contribute a patch time permitting but anybody interested please feel free to chip in.

@dajva
Copy link
Owner

dajva commented Apr 21, 2022

Sounds great.

nbarrientos added a commit to nbarrientos/rg.el that referenced this issue Apr 22, 2022
This changeset sets the buffer-local variable
`imenu-create-index-function' if `rg-group-result` is enabled,
configuring Imenu to list all the matched files and hence allowing to
quickly jump to them.

Closes dajva#136
@nbarrientos
Copy link
Contributor Author

Patch available.

nbarrientos added a commit to nbarrientos/rg.el that referenced this issue Apr 22, 2022
This changeset sets the buffer-local variable
`imenu-create-index-function' if `rg-group-result` is enabled,
configuring Imenu to list all the matched files and hence allowing to
quickly jump to them.

Closes dajva#136
nbarrientos added a commit to nbarrientos/rg.el that referenced this issue Apr 22, 2022
This changeset sets the buffer-local variable
`imenu-create-index-function' if `rg-group-result` is enabled,
configuring Imenu to list all the matched files and hence allowing to
quickly jump to them.

Closes dajva#136
nbarrientos added a commit to nbarrientos/rg.el that referenced this issue Apr 23, 2022
This changeset sets the buffer-local variable
`imenu-create-index-function' if `rg-group-result` is enabled,
configuring Imenu to list all the matched files and hence allowing to
quickly jump to them.

Closes dajva#136
nbarrientos added a commit to nbarrientos/rg.el that referenced this issue Apr 27, 2022
This changeset sets the buffer-local variable
`imenu-create-index-function' if `rg-group-result` is enabled,
configuring Imenu to list all the matched files and hence allowing to
quickly jump to them.

Closes dajva#136
nbarrientos added a commit to nbarrientos/rg.el that referenced this issue Apr 27, 2022
This changeset sets the buffer-local variable
`imenu-create-index-function' if `rg-group-result` is enabled,
configuring Imenu to list all the matched files and hence allowing to
quickly jump to them.

Closes dajva#136
dajva pushed a commit that referenced this issue Apr 27, 2022
This changeset sets the buffer-local variable
`imenu-create-index-function' if `rg-group-result` is enabled,
configuring Imenu to list all the matched files and hence allowing to
quickly jump to them.

Closes #136
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants