christoomey / vim-tmux-runner

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

Consider removing function VtrSendCommand interface #39

Open christoomey opened 9 years ago

christoomey commented 9 years ago

Originally I assumed that the function provided behavior and dynamic functionality that could not be achieved through the command interface, but not sure that that is the case.

Example:

" originally had this function version
let g:spec_runner_dispatcher = "call VtrSendCommand('{command}')"

" but this command version works equally well
let g:spec_runner_dispatcher = "VtrSendCommand {command}"