Startify runs if argc() > 0
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 5.4k
- Forks
- 181
- PR merge metrics
- No merged PRs in 30d
Description
In my vimrc with the latest Startify repo pulled by plug, I have
> autocmd VimEnter * if !argc() | Startify | endif
If I run vim -c "GV" or vim +Gitv I see the plugin loading for a split second then Startify kicks in.
There are no issues when I simply pass a file to vim
I have no other autocmd VimEnter lines in my vimrc and Nerdtree is installed but not configured to load with autocmd.
If i try
> vim --cmd 'let g:startify_disable_at_vimenter = 1' +GV
I get the same result as above
Have I missed something?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the VimEnter autocmd and the Startify invocation described in the issue. Reproduce with `vim -c "GV"`, `vim +Gitv`, and the `g:startify_disable_at_vimenter` setting, then trace the plugin's startup handling; done means these commands no longer replace the requested screen with Startify.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vim
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100