mhinz / mhinz/vim-startify

Restart Startify after plugin installation on startup (tip)

Open
#485 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
5.4k
Forks
181
PR merge metrics
No merged PRs in 30d

Description

This is not a bug, just a suggestion for user configuration, so feel free to close this one immediately.

If you are using Vim-Plug, you probably have something like this in your vimrc to install plugins on startup. However, this version also closes the buffer again after that and shows Startify:

```
" Run PlugInstall if there are missing plugins
augroup plugins_check
autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
\| PlugInstall --sync | source $MYVIMRC | execute 'close' | execute 'Startify'
\| endif
augroup END
```

Contributor guide

Open the contributing guide

Research direction

The issue provides a Vim-Plug autocmd for use in a vimrc, but names no repository file or test. Start by checking whether user configuration tips are documented in the project; done means deciding where this tip belongs and recording the provided startup configuration if appropriate.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
tooling
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.