Skip to content

Latest commit

 

History

History
68 lines (45 loc) · 1.19 KB

README.md

File metadata and controls

68 lines (45 loc) · 1.19 KB

Tmux urlscan

This plugin allows you to open any URL on your terminal window.

Requirements

Installation

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

Key bindings

Prefix + u

  • extract URLs and email addresses

Configuration

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

License

MIT