The other solutions are good if you want to change your vimrc, etc... However I wanted an simple way to copy from vim to my system keyboard. This is what I came up with.
- Select the text you want to copy with visual mode
v
- Press
:
(it will automatically expand to show:'<,'>
) - Type
y *
ory +
(depending on your system) to yank the selected text to the system clipboard