This plugin allows you to open any URL on your terminal window.
Using tpm (recommended)
Add this line to the tpm
section in your configuration file:
set-option -g @plugin 'fszymanski/tmux-urlscan'
Manual installation
Clone the repository:
$ git clone https://github.com/fszymanski/tmux-urlscan.git
Add this line to your configuration file:
run-shell ~/path/to/urlscan.tmux
Reload the configuration file:
$ tmux source-file ~/.tmux.conf
Prefix
+ u
- extract URLs and email addresses
With this option you can change the command.
set-option -g @urlscan-prog 'urlview'
Default: urlscan
With this option you can change the arguments.
set-option -g @urlscan-args '-c -d -r "echo {} | xsel -i -b"'
Default: -c -d
With this option you can change the key binding.
set-option -g @urlscan-key 'X'
Default: u
MIT