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

Make :filter recursive #12453

Closed
eyalk5 opened this issue Jun 7, 2020 · 3 comments
Closed

Make :filter recursive #12453

eyalk5 opened this issue Jun 7, 2020 · 3 comments
Labels
enhancement feature request

Comments

@eyalk5
Copy link

eyalk5 commented Jun 7, 2020

Hi,

I wish :filter could be made recursive.
that is - :filter /abc/ filter /cbd/ %list would be a double filter.

@eyalk5 eyalk5 added the enhancement feature request label Jun 7, 2020
@mhinz
Copy link
Member

mhinz commented Jun 14, 2020

I see that there's no easy way to achieve that even with a more complex regexp, but we have so many more important things to work at, that this feature probably won't be implemented by us.

Maybe you have a better chance convincing vim/vim to implement it, then we'll merge it into Nvim.

@jamessan
Copy link
Member

jamessan commented Jun 14, 2020

Doesn't :filter /.*abc\&.*cbd/ %list handle this? See :help /branch.

@mhinz
Copy link
Member

mhinz commented Jun 14, 2020

@jamessan Hmm, and I thought I tried exactly that!

Anyway, I consider this regexp to be a simple enough solution. No additional code in the editor needed.

@mhinz mhinz closed this as completed Jun 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement feature request
Projects
None yet
Development

No branches or pull requests

3 participants