Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First tmux instance doesn't attach to clipboard #124

Open
thomasboyt opened this issue Dec 8, 2013 · 3 comments
Open

First tmux instance doesn't attach to clipboard #124

thomasboyt opened this issue Dec 8, 2013 · 3 comments

Comments

@thomasboyt
Copy link

I discussed this with @eventualbuddha a few weeks ago and it seems that this is a known bug, but I don't see an issue for it here.

For some reason, the very first shell opened in tmux doesn't attach to the system clipboard. When I try to yank & paste in VIM, I get the dreaded Nothing in register * error.

All subsequent shells opened in tmux - whether in a new pane, window, or even a new session - will have the clipboard attached correctly. Of course, if you close down all tmux sessions (and thus close tmux) and then create a new session, you'll once again be detached from the system clipboard.

The workaround is easy enough - just create a new pane and close the first one - but it's rather annoying. I have no idea what's actually broken - tmux, reattach-to-user-namespace, or the config itself - but it'd be great to see a fix :)

@eventualbuddha
Copy link
Contributor

Thanks for documenting this.

On Sunday, December 8, 2013, Thomas Boyt wrote:

I discussed this with @eventualbuddha https://github.com/eventualbuddhaa few weeks ago and it seems that this is a known bug, but I don't see an
issue for it here.

For some reason, the very first shell opened in tmux doesn't attach to the
system clipboard. When I try to yank & paste in VIM, I get the dreaded Nothing
in register * error.

All subsequent shells opened in tmux - whether in a new pane, window, or
even a new session - will have the clipboard attached correctly. Of course,
if you close down all tmux sessions (and thus close tmux) and then create a
new session, you'll once again be detached from the system clipboard.

The workaround is easy enough - just create a new pane and close the first
one - but it's rather annoying. I have no idea what's actually broken -
tmux, reattach-to-system-clipboard, or the config itself - but it'd be
great to see a fix :)


Reply to this email directly or view it on GitHubhttps://github.com//issues/124
.

@hanneskaeufler
Copy link

This happens for me since messing with my system over the weekend. No idea what caused it though, did not update maximum-awesome until now (which didn´t fix the issue).

@joaosa
Copy link
Contributor

joaosa commented Oct 29, 2014

I also have this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants