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

A few suggestions #61

Open
c02y opened this issue Dec 31, 2023 · 4 comments
Open

A few suggestions #61

c02y opened this issue Dec 31, 2023 · 4 comments

Comments

@c02y
Copy link

c02y commented Dec 31, 2023

Thank you for the project, just discovered it from other's link.

I'm considering replacing ripgrep with igrep (only install igrep), don't know if it is possible so far. But I have a few suggestions for igrep to make it better.

  1. Support ripgrep's -w option which only show matches surrounded by word boundaries
  2. Support ripgrep's --sort=SORTBY option which sorts the result according to SORTBY like path
  3. Support ripgrep's --no-ignore option which ignores files such as .gitignore
  4. Support bindings of fold/unflod for matches of current file or fold/unfold all the other files
  5. Support filter by regex/path, which show only the typed regex paths in the tui window, or jump to the specific file based on typed regex
  6. Support horizontal/vertical context viewer options which can be turned on by default after tui window is loaded
@konradsz
Copy link
Owner

Hi, happy to hear that you enjoy igrep. Thanks for your suggestions, I like most (all?) of them, so I will work on implementation soon.

@Bad3r
Copy link

Bad3r commented Jan 1, 2024

@konradsz thats awesome! Do you also plan to introduce an easy way to replace all occurrences like in https://github.com/acheronfail/repgrep?

@konradsz
Copy link
Owner

konradsz commented Jan 1, 2024

@Bad3r Support for replacing results wouldn't be a simple extension of what is currently there, and I believe it wouldn't align with the original idea behind igrep - an interactive way to examine grep results. I'm not definitively saying "no" but I don't want to commit to this at the moment.

@kbd
Copy link

kbd commented Dec 16, 2024

Was looking for a way to sort results and found this issue.

Use-case: I have a journal with files named by date so I want to see them in reverse-date order when I'm looking for something.

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

No branches or pull requests

4 participants