@yury I just creating it as separate issue, which might be related to possible X support (
https://github.com/blinksh/blink/issues/569)
Maybe it would be also a good idea to create wiki with description for all the featueres, i.e. external display or clipboard exchange. I think many of us would be happy to collaborate and fill up it.
Regarding clipboard, there is online guides how to make it working between vim and tmux and between vim and mac/linux (using xorg or tmux). It works both with mosh and ssh sessions, but I never get success with blink and iPad
Some references:
Is there any news on what the idiomatic and preferred way is? Seems like if SSH into my remote workstation and use tmux, I'm apply to copy when I use "tmux copy". I couldn't make Vim work, but it might be my own setting. With Mosh, it doesn't work at all.
I am also having this issue and am curious what the preferred way to do this is. It would be great to be able to copy into the system clipboard from inside vim buffer within tmux using mosh.
@yury Any insight on how to do this the best?
@tylerwince we have updated mosh to master version, so it have support for copy. I lost link to good article how to setup all the things... Will try to find it tomorrow.
Here you go https://sunaku.github.io/tmux-yank-osc52.html#osc-52-escapes-the-new-way
I will test it with mosh (last time it hangs for some text)
Not sure what the status of this is, but for what it's worth, copying text in tmux session over ssh connection in Blink copies it to iPad clipboard.
But it doesn't work in mosh for me.
Confirming: Copy from tmux works on ssh, but on mosh
Confirming: Copy from tmux works on ssh, but on mosh
It works with mosh for long time already, you shall use linuxbrew and install mosh-head or compile it from the git repository
Anyone having issue with mosh+tmux and OSC52. There is some manual config of tmux needed to make it work with mosh.
https://gist.github.com/yudai/95b20e3da66df1b066531997f982b57b
That manual is a bit outdated, @mentos1386, I could update a wiki page about that. @yury or @carloscabanero how I could contribute?
@andrius
You can edit docs here https://github.com/blinksh/blink/tree/raw/docs
We generate https://blink.sh/docs from those markdown files.
@yury and @carloscabanero first of all, I want to share this repo with dockerized "servers" so everyone could test settings, packages and dotfiles. https://github.com/andrius/blink-dotfiles
Right now there is dorfiles for vim/nvim, tmux and mosh, everytrhing works etc. And a README, which is a base for doc pages.
If you think, it is useful, let me transfer repository owenship, I think it is helpful and would be a good companion with blink. OTherwise, I willn only create MR with some vim and tmux config snippets in the doc
@andrius Wow, really big work. Thank you. I will research it tomorrow morning.
Hi @andrius, thanks so much for putting these together. They are not only great to help people setup, but great as base images for dev environments. Do you want to add more tools to them?
@carloscabanero I will perhaps add fedora or cents example to get whole stack covered and a pbcopy, there is a separate repository with pbcopy, but it need to be patched to support mosh and tmux. And as I wrote, I can pass owenship to the blinks organisation
Perfect! Let us know if we can help you somehow. Thanks a lot again for the hard work :)
For folks using strait vim, here’s a minimal set of dot file changes That worked for me.
And huge thanks to @andrius to figuring out how to get this working!
Most helpful comment
Not sure what the status of this is, but for what it's worth, copying text in tmux session over ssh connection in Blink copies it to iPad clipboard.
But it doesn't work in mosh for me.