If the `tmux` `set-clipboard` option is set to `on` add the `osc52yank` plugin and change `<leader>y` mapping to use it.