4 ms·
Can tmux give each user their own cursor? That's an essential feature for realtime collaborative editing.
by danohu 10y ago
Can tmux give each user their own cursor? That's an essential feature for realtime collaborative editing.
- jhare 10y agoMaybe I'm thinking too much in the context of pair programming. When I share a workstation with a person there's one cursor there, but perhaps this is a different goal. ... I forget people use vim to do anything but programming?
- riffraff 10y agowhen pair programming in person you can trivially point to a bit of code with your hand, if you just share a tmux session (or screenshare via Skype/hangouts) you can't do that and it becomes a bit awkward. Multiple cursors allow you to do this ("<hover> this bit of code" vs "the second condition on line 60, around column 40?" more naturally. Switching control ("we can do it this way, let me show you") also has less friction with collaborative editing tools compared to classic in person pair programming (no need to shuttle a keyboard/chair back and forth). When I started using Screenhero which allows screen sharing with multiple cursors it was incredible how effective it felt.
- uncleleech 10y agoI use it for LaTeX I guess. Also markdown. I can see how it would work really well for authors to an extent
- jweir 10y agoWe often use this - over vagrant --share. It works well. You don't get two cursors - so only one driver - but that is fine in most cases.
- mklim 10y agoNot on its own, but I've used https://github.com/zolrath/wemux https://github.com/zolrath/wemux on top of tmux in the past to get that and it's worked well.
- ifoundthetao 10y agoWhere is the dual cursor option for wemux? I haven't been able to find it or emulate it. It would be great but each user is sharing the same instance of Vim and sharing their shell (well, in Pairing mode, at least).