]> git.friedersdorff.com Git - max/dotfiles.git/blobdiff - tmux/.tmux.conf
Force xwayland on qutebrowser
[max/dotfiles.git] / tmux / .tmux.conf
index 50edc479a2e28861fb9249dae0cd7e5e4deccb3a..f0c331b9c4655916c704d670cc3fe8365eed400c 100644 (file)
@@ -35,6 +35,11 @@ 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"
+
 
 
 ####################################