urlview: splitwindow instead of a new one.

This commit is contained in:
Jeremy Gardais 2015-09-22 15:42:36 +02:00
parent ce27c84c02
commit 0dc8efff5a
1 changed files with 4 additions and 2 deletions

View File

@ -116,8 +116,10 @@ bind x lock-server
unbind C-s unbind C-s
bind C-s set-window-option synchronize-panes bind C-s set-window-option synchronize-panes
# Lister les liens présents dans une fenêtre tmux (nécessite l'installation de urlview) # Present a menu of URLs to open from visible pane
bind-key u capture-pane \; save-buffer ~/.tmux/.tmux-buffer \; new-window -n "urlview" '$SHELL -c "urlview < ~/.tmux/.tmux-buffer"' bind-key u capture-pane \;\
save-buffer ~/.tmux/.tmux-buffer \;\
split-window -l 15 "urlview ~/.tmux/.tmux-buffer"
# Create a new session # Create a new session
unbind C-t unbind C-t