This question already has an answer here:
I'm trying to yank to the system clipboard on Ubuntu 14.04. I can't yank into the + or * registers, though. Every time I visually select my text and type
"+y the indicator on the bottom right initially indicates the number of lines selected (e.g.
4) while in visual mode. After the next keystroke,
", it indicates that it is in operator pending mode (lists
" instead of
As soon as I press
" changes back to the number of lines selected (
y after this vim reports that 4 lines were yanked. But they are definitely not in the system clipboard. The exact same thing happens when I try to store the yank in the
- I have two keyboard layouts configured (Dvorak: primary, QWERTY: secondary). The same thing happens on both layouts.
- I have stripped down my
.vimrcto an empty file: No luck.