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

regexp or literal ordering #76

Open
rileyrg opened this issue Jan 11, 2021 · 2 comments
Open

regexp or literal ordering #76

rileyrg opened this issue Jan 11, 2021 · 2 comments

Comments

@rileyrg
Copy link

rileyrg commented Jan 11, 2021

While I like the interface very much, I hadn't realised just how much I like orderless clauses eg "save hist " will match a line with "hist save". consult-line/helm-swoop and similar support this. Is this a goer?

@raxod502
Copy link
Member

It's a little tricky; see my comment at #70 (comment). Not necessarily impossible, but the architecture of CTRLF is more similar to Isearch than it is to Swiper/consult-line/helm-swoop/etc. The out-of-order matching implies some first-class concept of what a "line" is, because you have to split the buffer into chunks at some point in order to decide over what size of region each of the clauses should be matched. So some thought is required as to a good way to do this.

@rileyrg
Copy link
Author

rileyrg commented Jan 17, 2021 via email

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

No branches or pull requests

2 participants