I tried suggestions in this question: Vim - how to run a command immediately when starting vim?
command gets executed everytime vim is invoked,
I want MRU plugin to be opened only when I'm invoking vim without any files to open
I tried suggestions in this question: Vim - how to run a command immediately when starting vim?
command gets executed everytime vim is invoked,
I want MRU plugin to be opened only when I'm invoking vim without any files to open
I think, you can do something like this:
if argc() == 0
augroup MyVimEnter
au!
au VimEnter * ... " put the plugin command here
augroup END
endif