Skip to content

A simple plugin which allows you to view your logs filtered by some text/pattern

License

Notifications You must be signed in to change notification settings

MaximilianGaedig/tmux-filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tmux filter plugin

This plugin adds an option to filter your current buffer by some text/pattern. I was missing the feature from the vscode terminal when viewing dev server logs in tmux, so I added it in tmux.

Installation

  • Install TPM.
  • Add the following line to the top of your tmux file:
set -g @plugin 'MaximilianGaedig/tmux-filter'

Usage

  • press prefix + F
  • enter the grep pattern you want to search by
  • a new window opens which shows you all the lines in the buffer that match the pattern
  • there you can use normal tmux copy mode to scroll up/down and copy and whatever you want to do
  • to exit it just do Ctrl+C and you're back to the unfiltered view

Contributing

If you find a bug/feature you think this should have please feel free to open a pull request or issue :)

About

A simple plugin which allows you to view your logs filtered by some text/pattern

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages