Anexen / tmux-fzf-url

πŸš€ Quickly open urls on your terminal screen!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tmux-fzf-url

TPM Awesome License

A tmux plugin for opening urls from browser quickly without mouse.

screenshot

πŸ“₯ Installation

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.

πŸ“ Usage

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"'

πŸ’‘ Tips

  • 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.

πŸ”— Other plugins

πŸ“ƒ License

MIT (c) Wenxuan Zhang

About

πŸš€ Quickly open urls on your terminal screen!

License:Other


Languages

Language:Shell 100.0%