preservim / vimux

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

Don't allow any commands to run when no tmux session is attached #13

Closed benmills closed 12 years ago

PhML commented 12 years ago

I tried:

:call VimuxRunCommand("ls")

And I get:

Erreur détectée en traitant function VimuxPromptCommand..VimuxRunCommand :
ligne   11 :
RuntimeError: You are not in a tmux session

Is not vimux stand-alone?

benmills commented 12 years ago

Vimux is designed to work inside a tmux session. If you're not currently running vim inside a tmux pane you should see this error message. @PhML are you seeing this error while inside tmux?

PhML commented 12 years ago

Oups, I did not understand that it should be into a tmux session… so I can not use it into gvim? Anyway, I have launched a tmux session, vim and now:

Erreur détectée en traitant function VimuxRunCommand :
ligne   11 :
ArgumentError: invalid byte sequence in US-ASCII