vim-tidal icon indicating copy to clipboard operation
vim-tidal copied to clipboard

starting tidal and vim in a tmux session

Open ovitus opened this issue 6 years ago • 5 comments

How do I start tidalvim in a pre-existing tmux session? Whenever I launch it via tidalvim, it always creates a session for me. Otherwise I get an error like this: [root@gns333 ~]# tidalvim /usr/local/bin/tidalvim: line 18: /tmp//tmux-0/default,2875,0: No such file or directory /usr/local/bin/tidalvim: line 18: /tmp//tmux-0/default,2875,0: No such file or directory

ovitus avatar Jan 17 '19 15:01 ovitus

Hi ovitus. I do it this way: I start tidal in one pane (split?) And nvim, or vim in another. And that's all.

Bests

On Thu, Jan 17, 2019, 1:17 PM ovitus [email protected] wrote:

How do I start tidalvim in a pre-existing tmux session? Whenever I launch it via tidalvim, it always creates a session for me. Otherwise I get an error like this: [root@gns333 ~]# tidalvim /usr/local/bin/tidalvim: line 18: /tmp//tmux-0/default,2875,0: No such file or directory /usr/local/bin/tidalvim: line 18: /tmp//tmux-0/default,2875,0: No such file or directory

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tidalcycles/vim-tidal/issues/29, or mute the thread https://github.com/notifications/unsubscribe-auth/AI-AKuIso6LgY-m1m7JpmHUb2TWBLgVKks5vEJQNgaJpZM4aFzJm .

gilfuser avatar Jan 17 '19 20:01 gilfuser

Ok, but I can't execute code in the second pane. I'm using VIM. How do I get connect it to the Tidal session?

ovitus avatar Jan 17 '19 21:01 ovitus

I've been starting up letting the included bash script fire up Tidal for me, but I don't know if that's feasible for you. If not, check these lines - it looks like it will attach to a session named "tidal", although I haven't tested it: https://github.com/tidalcycles/vim-tidal/blob/master/bin/tidalvim#L16

ryanlaws avatar Jan 21 '19 02:01 ryanlaws

i get the same error /usr/local/bin/tidalvim: line 17: /tmp//tmux-1000/default,2700,3: No such file or directory /usr/local/bin/tidalvim: line 17: /tmp//tmux-1000/default,2700,3: No such file or directory

rdtor avatar May 06 '19 14:05 rdtor