From: Simon Ruderich Date: Mon, 8 Oct 2012 14:24:39 +0000 (+0200) Subject: tmux.conf: Run urlview on current screen content with Ctrl-B. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=741ed2c1b41ab61b52971b3d4422ebdaa107dde1;p=config%2Fdotfiles.git tmux.conf: Run urlview on current screen content with Ctrl-B. --- diff --git a/tmux.conf b/tmux.conf index 2d92790..1083a7f 100644 --- a/tmux.conf +++ b/tmux.conf @@ -82,4 +82,9 @@ bind-key C-] paste-buffer bind-key -t vi-edit C-n history-down bind-key -t vi-edit C-p history-up +# Run urlview on the current screen content. Very useful to follow links. +# Thanks to Arch wiki (https://wiki.archlinux.org/index.php/Tmux) for the +# basic idea. +bind-key C-b capture-pane \; save-buffer ~/.tmp/tmux-urlview \; new-window "$SHELL -c 'urlview < ~/.tmp/tmux-urlview'" + # vim: ft=tmux