Make pasting/yanking work correctly in tmux/vim.

Reattaching to user namespace is necessary otherwise tmux
breaks the unnamed register for yanking an pasting.