X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=tmux%2F.tmux.conf;h=f0c331b9c4655916c704d670cc3fe8365eed400c;hb=c85ac259177aaea873e1947a1b1edfab2fd4370e;hp=50edc479a2e28861fb9249dae0cd7e5e4deccb3a;hpb=e8b22f67edf6ce37d7c67905c07de659ef365831;p=max%2Fdotfiles.git diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 50edc47..f0c331b 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -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" + ####################################