]> git.friedersdorff.com Git - max/dotfiles.git/blobdiff - tmux/.tmux.conf
Add slight gaps between windows
[max/dotfiles.git] / tmux / .tmux.conf
index 50edc479a2e28861fb9249dae0cd7e5e4deccb3a..a16b2beed6953652b17c66a29ed19f93845bf59c 100644 (file)
@@ -35,6 +35,16 @@ set -g mouse on
 # Dont rename windows (allows setting mail for instance)
 set -g allow-rename off
 
+## move x clipboard into tmux buffer
+#bind C-p run "tmux set-buffer \"$(xclip -o)\""
+## move tmux copy buffer into x clipboard
+#bind C-y run "tmux save-buffer - | xclip -i"
+
+#move wayland clipbord into tmux buffer
+bind C-p run "tmux set-buffer \"$(wl-paste)\""
+# move tmux copy buffer into wayland clipboard
+bind C-y run "tmux save-buffer - | wl-copy"
+
 
 
 ####################################