urlview: splitwindow instead of a new one.
This commit is contained in:
parent
ce27c84c02
commit
0dc8efff5a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue