ubuntu needs to install vim-gnome
1.sudo apt-get install vim-gnome installation
2. Enter vim, copy outside, right mouse button inside.
3. Not enabled for the first time, press + p when entering vim, right click
"+ Y means copy from vim to the system cut version,
"+ P means paste from external file (system cut version) to vim,
"+ D means cut