preservim / vimux

easily interact with tmux from vim
MIT License
2.2k stars 160 forks source link

Invalid arguments for function VimuxRunCommand #51

Closed BrianHicks closed 11 years ago

BrianHicks commented 11 years ago

I updated my plugins this morning, and pulled in #50 (only). Now when I run :VimuxPromptCommand (for me bound to nnoremap <leader>vp :VimuxPromptCommand<cr>, I get the following:

Error detected while processing function VimuxPromptCommand:                                                                                                                                                                                                                        
line    3:                                                                                                                                                                                                                                                                          
E15: Invalid expression:                                                                                                                                                                                                                                                            
E15: Invalid expression:                                                                                                                                                                                                                                                            
line    6:                                                                                                                                                                                                                                                                          
E121: Undefined variable: l:command                                                                                                                                                                                                                                                 
E116: Invalid arguments for function VimuxRunCommand                                                                                                                                                                                                                                
Press ENTER or type command to continue

Vim 7.3.646 w/ Ruby (through homebrew, if it makes a difference) tmux 1.7

benmills commented 11 years ago

Are you sure you pulled in the fix for #50? That is the exact error you should see if you had the typo in VimuxPromptCommand

What is your output for sed -n "155,164p" ~/.vim/bundle/vimux/plugin/vimux.vim?

BrianHicks commented 11 years ago

I pulled again and it worked. Something must have failed to update. (Using :BundleInstall! from Vundle.)

benmills commented 11 years ago

Good to hear.