Skip to content

Ubuntu 16.04 xsel to primary keyboard not working #110

@alphaCTzo7G

Description

@alphaCTzo7G

I am using VIM, tmux, zsh combination.

I have vim set clipboard set to autoselect, so I have made sure that the selection in VIM is transferred to the * register. I can see it if I pull up the quickfix window. When I use xsel in the terminal, I can get the correct output as well.

However, when I use Ctrl+B+] or Ctrl+B+]+Shift+y or Ctrl+B+Ctrl+y or Ctrl+B+y, nothing pastes the clipboard into the terminal or to vim.

The docs are a bit confusing as to what is the correct method to paste from primary clipboard to the terminal.

Weirdly, if I do select and copy text from the terminal, I can paste it in vim or else where.

For example if I select a block of text using the tmux-copy plugin using ctrl+b+ctrl+f, I can use xsel to check whether the text is in the primary clipboard..

I can also use "*p" to paste it in VIM.

Any idea what I am doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions