Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Optionally disable ignore patterns for some functions. #369
I saw that ivy-ignore-buffers was added, which is a neat feature. I remember using the feature back when I used ido :-)
This patch adds the ability to optionally disable user-configured filtering at the command invocation. The convention is that if called with a non-nil prefix arg, then user-filtering is turned off. I added this to the new buffer filtering and
Example usage would look similar to:
One thing you might want to change in the patch is that I used
If that's not really a concern then it would be better to use
Hi, thanks for the effort. But could you make it work in the way Ido works?
I haven't used ignore filtering before, but now that I look into Ido code, it has:
Maybe something like this for Ivy:
Ah, I hadn't thought about wanting to toggle in the middle. I think I overlooked that feature back when I was using ido and had my own custom function.
I agree that's a better interface. I'll look into implementing it that way later tonight.
Okay, sorry for the delay. I've had some time to revisit it.
It now should work like ido:
Thanks a lot.
I've made one larger change: instead of using
One smaller thing is that
I also rewrote the commit message a bit. What I like to do is to use C in magit,