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

"save_to_clipboard" not working when using Neovim with 'mouse' mode on #4610

Open
bohrshaw opened this issue Dec 25, 2020 · 6 comments
Open

Comments

@bohrshaw
Copy link

With Alacritty config containing:

selection:
    save_to_clipboard: true
  1. Run nvim -u NORC +'set mouse=n'
  2. Hold Shift and select some text with Left Mouse.
  3. The selected text is not copied to the clipboard.

System

OS: macOS
Version: alacritty 0.6.0 (04cbf76)

@chrisduerr
Copy link
Member

Are you letting go of shift before letting go of the left mouse button? Also does it work for you outside of vim?

@bohrshaw
Copy link
Author

No. And it works outside of Vim.

@chrisduerr
Copy link
Member

And I'd assume it works with vim but without mouse mode? Does it work after running echo -e "\e[?1002;1006h" outside of vim?

@bohrshaw
Copy link
Author

It does work with Vim without mouse mode.
echo -e "\e[?1002;1006h"; nvim -u NORC +'set mouse=n' doesn't work.

@chrisduerr
Copy link
Member

Hm, that's strange. I don't see how this could happen especially since it works just fine on linux.

Could you share your configuration file?

@bohrshaw
Copy link
Author

This issue still apply when I make a config file with just these two lines:

selection:
    save_to_clipboard: true

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

No branches or pull requests

3 participants
@bohrshaw @chrisduerr and others