tmux-plugins / tmux-open

Tmux key bindings for quick opening of a highlighted file or url
MIT License
618 stars 63 forks source link

Long URLs ruin all my fun #14

Open qstrahl opened 8 years ago

qstrahl commented 8 years ago

If a URL is so long that it wraps around to the next line, trying to open it causes xargs to break it into two or more open commands. This could be fixed by passing -0 to xargs (break on null byte instead of new line), but I'm not sure whether or not the break-on-newline behaviour is considered a feature for this plugin.

qstrahl commented 6 years ago

@bruno- Could you confirm for me whether or not the break-on-newline behaviour is important to this plugin? I'd really like to take a stab at resolving this, but not if it has no chance of being merged upstream.

bruno- commented 6 years ago

Hey, this is something I was never able to resolve. I'd prefer if it worked but I'm unsure if it can be done