preservim / vimux

easily interact with tmux from vim
MIT License
2.21k stars 161 forks source link

Running vimux on a server without admin privileges #167

Open briandepasquale opened 6 years ago

briandepasquale commented 6 years ago

I am attempting to run vimux's commands in a tmux session on a server for which I am not an administrator. For example, when executing the following within vim:

:call VimuxRunCommand('ls')

I receive the following errors:

Error detected while processing function VimuxRunCommand..VimuxSendKeys.._VimuxTmux: E484: Can't open file /tmp/vzyU75B/16

Error detected while processing function function VimuxRunCommand..VimuxSendText..VimuxSendKeys.._VimuxTmux: E484: Can't open file /tmp/vzyU75B/17

Error detected while processing function VimuxRunCommand..VimuxSendKeys.._VimuxTmux: E484: Can't open file /tmp/vzyU75B/18

Naively, I'm guessing that I'm getting these errors because of some user permissions that I lack. Is this correct, and if so, is there a way around this? Thanks.

lionel75013 commented 5 years ago

Got the same issue even in sudo.

lionel75013 commented 5 years ago

nevermind, i completely didn't get that you would need to run vim in a tmux session.

alerque commented 3 years ago

@briandepasquale Are you running vim inside or outside tmux?

briandepasquale commented 3 years ago

Inside (I think). My comment is from a while back and I can't remember what I was doing...

alerque commented 3 years ago

Are you by chance running VIM from some containerized packaging such as Snap, Flatpack, or AppImage?

briandepasquale commented 3 years ago

No