Closed vlmarek closed 11 years ago
What operating system are you using and what Vim version?
I think, you need to use feedkeys("...
Haha, the markup language used on github has bitten us both :) In my example I used \<CR> and so probably did you. Markup has eaten the backslash I guess. Anyway your change fixed the issue for me.
Vlad
Hi,
I tried your plugin and I'm thrilled! I found small glitch though. When I recover a file, I can see in the command line this text with cursor waiting for input at the end.
:wincmd l:0
'feedkeys' help says: feedkeys("") simulates pressing of the key
Changing for example feedkeys(":wincmd l\n", 't') into feedkeys(":wincmd l", 't') fixes the issue for me. There is a lot of feedkeys through the plugin and for example the ones DiffRecoveredFileOld seems to work fine to me. But it seems that it won't do any harm fixing all of those according to documentation.
Thank you __ Vlad