From: Simon Ruderich Date: Mon, 10 Feb 2014 11:23:42 +0000 (+0100) Subject: tmux.conf: Improve urlview mapping. X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=06cdc1be39b2880b1e90b972b79045cf5dd7c605 tmux.conf: Improve urlview mapping. --- diff --git a/tmux.conf.in b/tmux.conf.in index a5b8361..6d582d9 100644 --- a/tmux.conf.in +++ b/tmux.conf.in @@ -122,7 +122,8 @@ bind-key C-t display-message # basic idea how to enable this in tmux. bind-key C-b capture-pane \; \ save-buffer ~/.tmp/tmux-urlview \; \ - new-window "$SHELL -c 'urlview < ~/.tmp/tmux-urlview'" + delete-buffer \; \ + new-window "urlview <~/.tmp/tmux-urlview" # Binding for fast switching to windows 10 to 29 (and more if necessary). # Thanks to Kays in #irssi on Freenode (2012-10-18 16:25 CEST) for reminding