christoomey / vim-tmux-runner

Vim and tmux, sittin' in a tree...
MIT License
291 stars 37 forks source link

VtrInitialCommand strips all whitespace #55

Open zmeadows opened 9 years ago

zmeadows commented 9 years ago

I'm trying to add command line arguments to VtrInitialCommand like so:

autocmd Filetype julia let g:VtrInitialCommand = "julia -p 4"

but when I run VtrOpenRunner, I get the following:

-bash: julia-p4: command not found

I've tried the following and they produce the same result:

let g:VtrInitialCommand = "julia\ -p\ 4"
let g:VtrInitialCommand = "julia\<Space> -p\<Space> 4"

I assume this isn't intended, as the example listed in the doc (cd ..) exhibits the same problem.