https://github.com/MaximilianGaedig/tmux-filter
A simple plugin which allows you to view your logs filtered by some text/pattern
https://github.com/MaximilianGaedig/tmux-filter
Last synced: 6 months ago
JSON representation
A simple plugin which allows you to view your logs filtered by some text/pattern
- Host: GitHub
- URL: https://github.com/MaximilianGaedig/tmux-filter
- Owner: MaximilianGaedig
- License: mit
- Created: 2023-12-06T22:22:10.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-07T13:25:31.000Z (almost 2 years ago)
- Last Synced: 2025-05-07T01:56:30.386Z (6 months ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-tmux - tmux-filter
README
# 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](https://github.com/tmux-plugins/tpm).
- Add the following line to the top of your tmux file:
```bash
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 :)