You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think this is possible to fix and the same thing happens in vim and kakoune. The terminal doesn't have a concept of virtual text afaik so there's no way for us to render whitespace text so that it isn't part of the URL.
Summary
When displayed, the space/tabs/newline/nbsp characters interfere with URL recognition, OS copy/paste:
URL recognition take into account the newline character:
OS copy then paste (not with
space + y
but withCommand + C
on macOS) also gets them:First copying
Then pasting
Reproduction Steps
I tried this:
hx
:set-option whitespace.render all
:set-option mouse false
// See https://gitlab.company.com/company/project/-/issues/42
, add newline, exit insert mode/ See http
with the OS select and copy (with mouse andCommand + C
)I expected this to happen:
The virtual characters are not copied
Instead, this happened:
The virtual characters are copied
Helix log
~/.cache/helix/helix.log
Platform
macOS
Terminal Emulator
kitty 0.25.2
Helix Version
helix 22.05 (e58d28a)
The text was updated successfully, but these errors were encountered: