Skip to content
/ rgui Public

A basic terminal GUI for searching text files.

License

Notifications You must be signed in to change notification settings

dmit/rgui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rgui

A basic terminal UI for searching text files using regular expressions.

$ rgui [-p <pattern>] [<search_paths...>]
Positional Arguments:
  search_paths      list of paths to search

Options:
  -p, --pattern     pattern to search for
  --help            display usage information

TODO

  • Toggle for case insensitive search.
  • Toggle for plain text (non-regex) search.
  • Progress marker for when a search is ongoing.
  • Basic edit controls on the pattern field (move cursor left/right, select all, etc).
  • Navigation of results and, possibly, ability to launch $EDITOR on files at the line where the currently selected match was found.
  • Restore previous console state after quitting instead of clearing the screen.
  • A --help flag?
  • Show an error in case of a malformed search pattern.
  • Make search-as-you-type optional, and prefer search-on-return by default.
  • Highlight matches in the results window.

License

0BSD.

About

A basic terminal GUI for searching text files.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages