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

clipboard-paste-* doesn't paste #3251

Closed
adsnaider opened this issue Jul 29, 2022 · 3 comments
Closed

clipboard-paste-* doesn't paste #3251

adsnaider opened this issue Jul 29, 2022 · 3 comments
Labels
C-bug Category: This is a bug

Comments

@adsnaider
Copy link

Summary

I copy something outside of the editor into my clipboard. When I try to paste it using the clipboard-paste-after command (or before), nothing happens.

For the record, using C-Shift-v on insert mode seems to paste, however, the paste is very wonky as it is very slow and indentation is usually ruined.

Reproduction Steps

I tried this:

  1. hx
  2. Copy something to clipboard outside of helix
  3. :clipboard-paste-after -> nothing happens
  4. primary-clipboard-paste-after -> nothing happens

I expected this to happen:

Text to be pasted into the buffer.

Instead, this happened:

Nothing...

Helix log

There's no logging information.

Platform

Linux

Terminal Emulator

gnome-terminal

Helix Version

helix 22.05 (27609f5)

@adsnaider adsnaider added the C-bug Category: This is a bug label Jul 29, 2022
@kirawi
Copy link
Member

kirawi commented Jul 29, 2022

For the record, using C-Shift-v on insert mode seems to paste, however, the paste is very wonky as it is very slow and indentation is usually ruined.

You're encountering #2239.

As for the pasting not working, you might be missing a supported clipboard provider.

@adsnaider
Copy link
Author

Oh wow. Thank you. Things work well after installing xclip. I'm not sure if this is possible but it would be nice if helix displayed an error message that gives some info and links to that site.

@kirawi
Copy link
Member

kirawi commented Jul 30, 2022

I've opened #3254

@kirawi kirawi closed this as completed Jul 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

2 participants