happypeter / happygrep

damn easy command line search

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I tried to add some new 'commands' to this wonderfull stuff

chrisweizhy opened this issue · comments

Firstly, I have to say, this is a very exciting tool. Although we could still find some thing not so good, but that's nothing.

I used this tools for days, and I really love it. Besides this, i want some new 'commands' to give it more fun.

Basicly, I guess peter wanna navigate the view the same as vi, and that's exactly what i wanna too.

So, i added these commands as below, all to make a faster navigation:

  • 'H': go to the head line of the current page.
  • 'L': go to the tail line of the current page
  • 'f': page down, and highlight the first line
  • 'F': page up, and highlight the first line

In fact, I wanna more, such as, 'g' to go to the first line of the total buffer, and 'G' to go to the last line of the total buffer, not finished yet.

Also, I have read the issues above, but to be honest, i don't that care about the exact match or what, mostly because the size of my code is not that big.

But, I find that when I use happygrep, sometimes it runs too slow. I read the code, and maybe this is because the realloc function inside the while loop? I don't have that much time to debug this, and just use it for now.

Finally, thanks the author again, and I'm very interesting on this tool.

I'm a new fish to program under Linux system, and also to the git thing. I still don't get how to contribute to an interesting project. So, if U wanna, contact me by email or so. I'll be very happy to here from u.

@chrisweizhy Your English is good,I can understand everything.

And your new feature idea is also great, however happygrep is now focusing on bug fix only. We are right now not bringing in new code as we don't have enough energy to maintain the code. So sorry for this.

But you can fork the code and adding the new cool things for yourself, it's a open source world, right?

Ok

发自我的 iPhone

在 2014年12月10日,下午6:20,Peter Wang notifications@github.com 写道:

@chrisweizhy Your English is good,I can understand everything.

And your new feature idea is also great, however happygrep is now focusing on bug fix only. We are right now not bringing in new code as we don't have enough energy to maintain the code. So sorry for this.

But you can fork the code and adding the new cool things for yourself, it's a open source world, right?


Reply to this email directly or view it on GitHub.