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