From 64da84f1664494681348785f125ce400af4f593a Mon Sep 17 00:00:00 2001 From: Wenxuan Zhang Date: Sat, 5 Sep 2020 12:37:59 +0800 Subject: feat: support custom filter #7 --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 211559c..b11b526 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,13 @@ setting value to `@fzf-url-bind` at the tmux config like this: set -g @fzf-url-bind 'x' ``` +You can also extend the capture groups by defining `@fzf-url-extra-filter`: + +``` tmux +# simple example for capturing files like 'abc.txt' +set -g @fzf-url-extra-filter 'grep -oE "\b[a-zA-Z]+\.txt\b"' +``` + ### 💡 Tips - Use `tab` to mark multiple urls and open them at once. -- cgit v1.2.3