preservim / vimux

easily interact with tmux from vim
MIT License
2.19k stars 158 forks source link

Disallow chaining VimuxRunCommand and VimuxPromptCommand #186

Closed alerque closed 3 years ago

alerque commented 3 years ago

Fixes #185

Vim does not allow escaping some characters in commands that can be chained. In particular bars are disallowed and double quotes begin code comments. Both of these things are regular features in shell command strings.

I'm disallowing chaining for the two commands that take shell commands as arguments so they can be used sensibly again. One solution to allow this might be to have a ...Bar version of each. It might also be possible to work around this with :call and functions instead of commands.