summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter2020-10-04 17:45:28 +0100
committerPeter2020-10-04 17:45:28 +0100
commitecad8c0103da520bfb42912307fb7f709c2c2509 (patch)
treeb2803de0841372f369e2c7822a22de89cbc72eb5
parent0533f96e65479636db4ade2db473f7b9890dea07 (diff)
downloaddotfiles-ecad8c0103da520bfb42912307fb7f709c2c2509.tar.gz
dotfiles-ecad8c0103da520bfb42912307fb7f709c2c2509.tar.bz2
dotfiles-ecad8c0103da520bfb42912307fb7f709c2c2509.zip
mouse copy support in tmux from kai hendry
-rw-r--r--.config/tmux/tmux.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
new file mode 100644
index 0000000..df5dbb2
--- /dev/null
+++ b/.config/tmux/tmux.conf
@@ -0,0 +1,3 @@
+set-option -g mouse on
+set-option -s set-clipboard off
+bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -se c -i"