From 0dc8efff5a0bd754a2b6b934682a7298ce844154 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Tue, 22 Sep 2015 15:42:36 +0200 Subject: [PATCH] urlview: splitwindow instead of a new one. --- tmux.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tmux.conf b/tmux.conf index 8cbea60..f1d6b95 100644 --- a/tmux.conf +++ b/tmux.conf @@ -116,8 +116,10 @@ bind x lock-server unbind C-s bind C-s set-window-option synchronize-panes -# Lister les liens présents dans une fenêtre tmux (nécessite l'installation de urlview) -bind-key u capture-pane \; save-buffer ~/.tmux/.tmux-buffer \; new-window -n "urlview" '$SHELL -c "urlview < ~/.tmux/.tmux-buffer"' +# Present a menu of URLs to open from visible pane +bind-key u capture-pane \;\ + save-buffer ~/.tmux/.tmux-buffer \;\ + split-window -l 15 "urlview ~/.tmux/.tmux-buffer" # Create a new session unbind C-t