mhinz / vim-startify

:link: The fancy start screen for Vim.
MIT License
5.31k stars 187 forks source link

Docs says that it must open at start, but it doesn't #290

Closed alex-shamshurin closed 7 years ago

alex-shamshurin commented 7 years ago

When I run :Startify it works, but does not start when I open macVim.

mhinz commented 7 years ago

Two possible explanation come to my mind:

  1. Another plugin interferes. Please try disabling all plugins but vim-startify and see if it still happens.
  2. How do you start MacVim? Via Spotlight and typing MacVim?
alex-shamshurin commented 7 years ago

Via Spot

mhinz commented 7 years ago

What about the other point?

Since there are no steps to reproduce it, I can only guess that it's your environment. Try disabling all other plugins.

By the way, do you get the same result when you use mvim from Terminal.app?

alex-shamshurin commented 7 years ago

Yes, It does work when I open vim from console. Any ideas?

mhinz commented 7 years ago

How did you install MacVim? As far as I know homebrew doesn't link programs to /Applications on its own anymore. But it must be in /Applications or ~/Applications, otherwise you couldn't run it via Spotlight.

alex-shamshurin commented 7 years ago

As far as I remember I've installed it via brew cask install macvim

mhinz commented 7 years ago

Hmm, I tried brew install macvim and running mvim from the shell and brew cask install macvim and running MacVim from Spotlight. Startify works for me in both cases.

Startify runs on Vim's startup under these conditions: code. So, it runs when no file was specified and the first buffer is completely empty.

What bugs me, is that it seems to work for you when you start it from the shell.. I think it must be something in your environment, but I can't name it. The best suggestion I can come up with currently is still disabling all other plugins and see if it makes any difference.

alex-shamshurin commented 7 years ago

I will disable other plugins and report results

mhinz commented 7 years ago

Please reopen, if you have results. :)