X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=shell%2F.config%2Ftmux%2Fconfig;h=b772566bddff4cc9e237947a02bbd775b9867960;hb=139a21003b07452b08c8d721d1f9342c5320d10e;hp=35a9a8383e0480f3a64b8a39f175d996027a15bf;hpb=5f126fd46e1d5eadfe2d8290cd23713be3b5e9c2;p=dotfiles.git diff --git a/shell/.config/tmux/config b/shell/.config/tmux/config index 35a9a83..b772566 100644 --- a/shell/.config/tmux/config +++ b/shell/.config/tmux/config @@ -25,4 +25,11 @@ bind-key -T copy-mode-vi 'Space' send -X halfpage-down bind-key -T copy-mode-vi 'Bspace' send -X halfpage-up # urlview -bind-key u capture-pane \; save-buffer /tmp/tmux-buffer \; run-shell "st -e urlview /tmp/tmux-buffer" +bind-key u capture-pane \; \ + run-shell "st -e sh -c 'tmux save-buffer - | urlview'" + +# interactive panel to other windows +bind-key M choose-tree -Zw "join-pane -t '%%'" + +# interactive panel to other session +bind-key C-m choose-tree -Zs "join-pane -t '%%'"