The CLI text viewer tool that works like less command on small pane within the terminal window.
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
The CLI text viewer tool that works like
lesscommand on small pane within the terminal window.
peep can view text file freely.
peep has the follow mode that can monitor file updates and read them continuously like
peep can highlight the regex word on the follow mode.
cargo install peep
If you don't have Rust toolchains, please refer to The Rust Programming Language.
Or, you can download peep binary file from GitHub peep Releases :)
peep [OPTION]... [FILE]
-n, --lines LINES set height of pane -s, --start START set start line of data at startup -t, --tab-width WIDTH set tab width -N, --print-line-number print line numbers -f, --follow output appended data as the file grows -h, --help show this usage -v, --version show version
0 Ctr-a Go to the beggining of line
Go to the beggining of line.
(num)+ Increment screen height
(num)means that entering a number is optional.
[num]= Set screen height to [num]
[num]means that entering a number is mandatory.
(num)j Ctr-j Ctr-n Scroll down (num)k Ctr-k Ctr-p Scroll up (num)d Ctr-d Scroll down half page (num)u Ctr-u Scroll up half page (num)f Ctr-f SPACE Scroll down a page (num)b Ctr-b Scroll up a page (num)l Scroll horizontally right (num)h Scroll horizontally left (num)L Scroll horizontally right half page (num)H Scroll horizontally left half page 0 Ctr-a Go to the beggining of line $ Ctr-e Go to the end of line g Go to the beggining of file G Go to the end of file [num]g [num]G Go to line [num] /pattern Search forward in the file for the regex pattern n Search next N Search previous q Ctr-c Quit (num)+ Increment screen height (num)- Decrement screen height [num]= Set screen height to [num] # Toggle line number printing ! Toggle line wrapping ESC Cancel F Toggle to follow mode
/pattern Highlight the regex pattern q Ctr-c Quit (num)+ Increment screen height (num)- Decrement screen height [num]= Set screen height to [num] # Toggle line number printing ! Toggle line wrapping ESC Cancel F Toggle to normal mode
MIT License. Please refer to LICENSE file.