aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2019-03-21 17:17:03 +0000
committerJuan J. Martinez <jjm@usebox.net>2022-05-29 22:57:28 +0100
commitbc3c1dae7b01d5ffd111eb83064dbe65636f919f (patch)
treeaef213aa519aceeb6123b439e1671c5a1cfd7a0c
parent8ef9d5c721659dd0fc9ce43c4e35699cad18704b (diff)
downloaddotnvim-bc3c1dae7b01d5ffd111eb83064dbe65636f919f.tar.gz
dotnvim-bc3c1dae7b01d5ffd111eb83064dbe65636f919f.zip
Compiled tmux, using 2.4+
-rw-r--r--tmux.conf2
-rw-r--r--tmux.md7
2 files changed, 7 insertions, 2 deletions
diff --git a/tmux.conf b/tmux.conf
index 68cefca..d2a005b 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -14,7 +14,7 @@ setw -g xterm-keys on
# sane copy & paste in X (requires xclip) ; tmux 2.4+
set-option -s set-clipboard off
-if-shell "tmux -V | grep -v 2.3" "bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel \"xclip -se c -i\""
+bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -se c -i"
# Automatically set window title
set-window-option -g automatic-rename on
diff --git a/tmux.md b/tmux.md
index cef3651..143ff6d 100644
--- a/tmux.md
+++ b/tmux.md
@@ -1,4 +1,9 @@
-*Configuration for tmux*
+# Configuration for tmux
+
+Required:
+
+ - tmux 2.4+
+ - xclip (this is for X, sorry)
This is not vim related, but I find it very useful so I like to keep it with my
vim conf.