commit 1a13faea805e7eefc2846af65d61a3a72441e444
parent 42c9a897a24f34fc3f44c27e21cd9fd1d02891f5
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 29 May 2020 09:37:45 +0200
Add binding to plumb tmux selection
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.tmux.conf b/.tmux.conf
@@ -119,6 +119,7 @@ bind C-p run "DISPLAY=:0 cclip -o -n | tmux load-buffer - ; tmux paste-buffer"
if-shell 'uname | grep -qi Darwin && which reattach-to-user-namespace > /dev/null' 'bind p run "pbpaste | tmux load-buffer - ; tmux paste-buffer"'
if-shell 'uname | grep -qi Cygwin' 'bind p run "cat /dev/clipboard | tmux load-buffer - ; tmux paste-buffer"'
+bind -T copy-mode-vi o send-keys -X copy-pipe-and-cancel "plumb >~/.cache/plumb.log 2>&1"
bind -T copy-mode-vi u send-keys -X copy-pipe-and-cancel "youtube-dl-music -t -a -m -q >~/.cache/youtube-dl-music.log 2>&1"