aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorWenxuan Zhang <wenxuangm@gmail.com>2020-09-05 12:37:59 +0800
committerWenxuan Zhang <wenxuangm@gmail.com>2020-09-05 12:40:58 +0800
commit64da84f1664494681348785f125ce400af4f593a (patch)
tree31ccdde5885c314ad52504468578664bb2d94c56 /README.md
parent74d4f13c98cec03e4243adf719275ad880dabde0 (diff)
downloadfork-tmux-fzf-url-64da84f1664494681348785f125ce400af4f593a.tar.gz
fork-tmux-fzf-url-64da84f1664494681348785f125ce400af4f593a.tar.bz2
fork-tmux-fzf-url-64da84f1664494681348785f125ce400af4f593a.zip
feat: support custom filter #7
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
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.