+ # to switch clipboard and primary selection
+ PRIMARY=`xsel -op`; xsel -ob | xsel -ip; echo "$PRIMARY" | xsel -ib
+
+ # to paste from primary selection in tmux
+ bind p run "tmux set-buffer \"$(xsel -op)\"; tmux paste-buffer
+
+Other useful keybindings in tmux would copying into the clipboard etc. and
+there is a useful [SO
+post](https://unix.stackexchange.com/questions/77355/tmux-xclip-copy-no-longer-working/77587#77587)
+explaning that.
+