tmux-plugins/tmux-copycat

How to make search of predefined case sensitive word list?

dominikduda opened this issue · 2 comments

I would like to have a binding to search for defined list words.

This one works:

bind e run-shell "$HOME/.tmux/plugins/tmux-copycat/scripts/copycat_mode_start.sh '(Error|FATAL)'"

But I want to make it case sensitive (so Error will match but error will not).

Is there way to achieve it?

So, the pattern matching is done in this line.

If notice, the grep command is called with the ignore case (-i) option.

If you want to distinguish between uppercase and lowercase, just remove it.

Thanks!