aboutsummaryrefslogtreecommitdiff
path: root/tmux/tmux-gnu-linux.conf
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2018-05-05 19:50:22 -0300
committerEuAndreh <eu@euandre.org>2018-05-05 19:50:22 -0300
commitdbf02e62db35a6f365e63b3869d82dfe20a9cfac (patch)
tree50816dd9600c8bb65a8192bd5b20a5b08f3f905b /tmux/tmux-gnu-linux.conf
parentAdd borg files (diff)
downloaddotfiles-dbf02e62db35a6f365e63b3869d82dfe20a9cfac.tar.gz
dotfiles-dbf02e62db35a6f365e63b3869d82dfe20a9cfac.tar.xz
Add custom copying commands for macOSxGNU/Linux
Diffstat (limited to 'tmux/tmux-gnu-linux.conf')
-rw-r--r--tmux/tmux-gnu-linux.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux/tmux-gnu-linux.conf b/tmux/tmux-gnu-linux.conf
new file mode 100644
index 0000000..592655a
--- /dev/null
+++ b/tmux/tmux-gnu-linux.conf
@@ -0,0 +1,3 @@
+bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe "xclip -selection clipbo
+ard -i" \; display-message "Copied! Long-live tmux!"
+bind-key y send-keys -X copy-pipe "xclip -selection clipboard -i" \; display-message "Copied system clipboard! Hooray! Long-live tmux!"