From 741ed2c1b41ab61b52971b3d4422ebdaa107dde1 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 8 Oct 2012 16:24:39 +0200 Subject: [PATCH] tmux.conf: Run urlview on current screen content with Ctrl-B. --- tmux.conf | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.45.2