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

Bracketed paste #2239

Closed
the-mikedavis opened this issue Apr 23, 2022 · 4 comments · Fixed by #3233
Closed

Bracketed paste #2239

the-mikedavis opened this issue Apr 23, 2022 · 4 comments · Fixed by #3233
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements upstream

Comments

@the-mikedavis
Copy link
Member

the-mikedavis commented Apr 23, 2022

Pasting with your operating system's paste functionality (Ctrl-v or Cmd-v) is wonky:

See also

This happens because crossterm does not yet support bracketed paste, so when you paste with OS paste, helix receives each character as if you had typed it yourself. We await a PR upstream in crossterm: crossterm-rs/crossterm#557.

Until bracketed paste is supported, use Space-p to paste from the system clipboard.

@theowenyoung
Copy link

When I use a remote server, then I can only use ctrl-v to paste the local clipboard, how to handle this case?

@the-mikedavis
Copy link
Member Author

the-mikedavis commented Jun 29, 2022

Yanking to system clipboard across SSH is covered by #247 rather than bracketed paste

@mbratch
Copy link

mbratch commented Oct 29, 2022

It's more than just wonky. It just doesn't work at all over ssh for any size copy/paste. I can copy and paste using the typical, basic ways to and from any other application... except helix. Whether helix is in insert mode or not, it doesn't work. Not using any command (ctrl-v, space p, mouse right click...). I guess I'm not sure I understand why helix has to be different in this regard.

@the-mikedavis
Copy link
Member Author

That's covered by #247 and not bracketed paste. Bracketed paste support is implemented, merged, and released in v22.08.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements upstream
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants