Skip to content

tmux-plugins/tmux-urlview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Tmux urlview

Quickly open any url on your terminal window!

Plugin wrapper around either urlview or extract_url.

Demo

Demo tmux-urlview

Dependencies

One of the following is required.

  • urlview - brew install urlview on OS X.
  • extract_url - brew install extract_url on OS X.

Key bindings

In any tmux mode:

  • u - listing all urls on bottom pane

Installation with Tmux Plugin Manager (recommended)

Add plugin to the list of TPM plugins in .tmux.conf:

set -g @plugin 'tmux-plugins/tmux-urlview'

Hit prefix + I to fetch the plugin and source it. You should now be able to use the plugin.

Manual Installation

Clone the repo:

$ git clone https://github.com/tmux-plugins/tmux-urlview ~/clone/path

Add this line to the bottom of .tmux.conf:

run-shell ~/clone/path/urlview.tmux

Reload TMUX environment:

# type this in terminal
$ tmux source-file ~/.tmux.conf

You should now be able to use the plugin.

Configuration

How can I change the default "u" key binding to something else? For example, key "x"?

Put set -g @urlview-key 'x' in tmux.conf.

Other goodies

tmux-urlview works great with:

  • tmux-fpp - a plugin for opening any files on your terminal window
  • tmux-copycat - a plugin for regex searches in tmux and fast match selection
  • tmux-yank - enables copying highlighted text to system clipboard

License

MIT