]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
tmux.conf: Improve urlview mapping.
authorSimon Ruderich <simon@ruderich.org>
Mon, 10 Feb 2014 11:23:42 +0000 (12:23 +0100)
committerSimon Ruderich <simon@ruderich.org>
Mon, 10 Feb 2014 11:23:42 +0000 (12:23 +0100)
tmux.conf.in

index a5b83615828ffa313a138165092ac22ea04edda0..6d582d99f54b330b065af2110e2c386b2d569504 100644 (file)
@@ -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