Open andyw8 opened 8 years ago
@andyw8 can you share the output of verbose nmap <leader>l
(assuming I've got the right mapping there)?
I would not expect this, but one thing to check would be if changing the g:VtrClearBeforeSend
setting affects things:
let g:VtrClearBeforeSend = 0
That will prepend <c-l>
by default to your command, and that might be mapped in your shell somehow?
Let me know what you find and we'll sort this out.
The output is:
<Space>l <Plug>RunMostRecentSpec
Last set from ~/.vimrc.local
AFAIK know nothing is mapped to
I have also experienced this using the standard leader command (<leader>sc
).
I believe it happens after I run VtrSendCommand
and then later switch to the tmux pane, run commands, and then come back to Vim and run VtrSendCommand
.
I'll try to pay closer attention when it happens again.
It seems that
VtrSendCommandToRunner
sometimes drops leading characters.For example, if I hit-l to run my last spec, instead of sending
bin/spring rspec spec/models/product.rb
it will occasionally sendn/spring rspec spec/models/product.rb
.If I hit-l again, it works.
Has anyone else observed this?