Ncurses-based text search tools ncgrep and ncursesncgrep
Background
As a VIM party, in daily work development, grep is often used for keyword search to quickly locate files.
Use grep for text search
However, there are two efficiency problems in this process:
It can be imagined that when the search content result set is large, it is painful.
So we can use the Ag plug-in Vim to search for it?
Yes, but he only solves the Interaction Problem. The pain points of result set grouping are still not solved.
Use ag in vim for text search
Ideas
When using Eclipse and other IDE for global text search, it has great advantages in loading effect (lazy loading) visualization.
Search for global files in Eclipse
We hope to provide a similar search tool based on the linux system. Advantages (functions:
- The result set can be directly interacted.
- The result set can be displayed in groups.
- The result set is loaded in "lazy loading" mode.
What is a class library based on the text graphic interface? I have learned about software similar to VIM and htop on the Internet.NcursesClass Library.
Project
Project name: ncgrep
Why? Because ngrep and egrep are available. (Note: ncgrep does not reference grep source code)
Project Demo
Ncgrep demo
Code
Http://github.com/ncgrep/ncgrep
Similar projects
NGP youtube-> https://www.youtube.com/watch? V = MesYBY8271s
Summary
Tools are generated for efficiency and are expected to bring benefits.
Address: http://blog.ihuxu.com/ncgrep-based-on-ncurses-global-regular-search-tool/