A tmux plugin for opening urls from browser quickly without mouse.
Make sure you have fzf
installed.
Install using TPM
Add this line to your tmux config file, then hit prefix + I
:
set -g @plugin 'wfxr/tmux-fzf-url'
Install manually
Clone this repo somewhere and source fzf-url.tmux
at the config file.
The default key-binding is u
(of course prefix hit is needed), it can be modified by
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
:
# simple example for capturing files like 'abc.txt'
set -g @fzf-url-extra-filter 'grep -oE "\b[a-zA-Z]+\.txt\b"'
- Use
tab
to mark multiple urls and open them at once. - Hit
ctrl - r
to toggle selection. - The tmux theme showed at screenshot is tmux-power.
MIT (c) Wenxuan Zhang