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

Copying from tmux #139

Open
jbargu opened this issue Mar 24, 2017 · 0 comments
Open

Copying from tmux #139

jbargu opened this issue Mar 24, 2017 · 0 comments

Comments

@jbargu
Copy link

jbargu commented Mar 24, 2017

When running google search plugin it automatically inserts text from clipboard (if it was copied with CTRL+V). However if I copy stuff from tmux, it still uses the old value. I'm not sure which clipboard Mutate actually uses. Additionally if I delete something in vim it will be used properly in Mutate, however if I use yank command (y), it won't get copied. Note that the other programs work fine and the text is copied to system clipboard regardless of what I do.

I'm using this command for tmux:

bind-key -t vi-copy y copy-pipe "tmux save-buffer - | xclip -sel clipboard -i"

I also tried primary clipboard but it doesn't work.

For the first workaround I'd be fine with just running command and then using Ctrl+V to copy the last thing, but I'm not sure how to specify it in config.ini. So when I press the desired hotkey, I get prompt with youtube and then I have to enter what I want without Mutate automatically inserting the last thing in clipboard. How do I do that? Thanks.

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

1 participant