aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.config/tmux/cygwin.conf
blob: 3c9f14a263b66a92dfbda36a2fbe9a7f076474fa (plain) (blame)
1
2
3
4
5
6
7
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'cat > /dev/clipboard'
bind-key -T copy-mode-vi Y send-keys -X copy-pipe-and-cancel 'tmux paste-buffer'
bind-key -T copy-mode-vi M-y send-keys -X copy-pipe-and-cancel 'cat > /dev/clipboard; tmux paste-buffer'
bind-key -T copy-mode-vi '!' send-keys -X copy-pipe-and-cancel "tr -d '\n' > /dev/clipboard"
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel 'cat > /dev/clipboard'
bind-key -T root MouseDown2Pane run 'cat /dev/clipboard | tmux load-buffer - && tmux paste-buffer'
bind-key ] run 'cat /dev/clipboard | tmux load-buffer - && tmux paste-buffer'