vim-plug icon indicating copy to clipboard operation
vim-plug copied to clipboard

Publish Homebrew formula

Open mcandre opened this issue 8 years ago • 8 comments

VimPlug is awesome! Could we get a formula published to the Homebrew package manager, to make it easier to install?

mcandre avatar Oct 23 '18 23:10 mcandre

Easer than copy/pasting

curl -fLo '~/.vim/autoload/plug.vim' --create-dirs \
    'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'

to a terminal? I'm not a Mac user but how much simpler than that can it get? :wink:

mschilli87 avatar Oct 24 '18 06:10 mschilli87

Copying and pasting arbitrary text blobs is the opposite of automation. Copying and pasting arbitrary text is accident-prone, requires advanced user knowledge, and actually presents security risks. Better to provide a tested formula.

mcandre avatar Nov 16 '18 19:11 mcandre

That's a good idea.

ziweiwu avatar Mar 03 '19 18:03 ziweiwu

Homebrew will not install plug.vim in your .vim directory, so you'll have to put an extra line in your Vim configuration. I don't like it because it's an extra step that only applies to a subset of vim-plug users and it may confuse the others.

The above command is just for downloading a single file from GitHub via secure SSL connection ("Download plug.vim and put it in the "autoload" directory." from README page). You don't have to use the exact command.

So I don't see much point of using Homebrew, but you can write a formula and send a pull request to homebrew-core if you want.

junegunn avatar Mar 04 '19 01:03 junegunn

Make sense, home brew is bit redundant.

On Sunday, March 3, 2019, Junegunn Choi [email protected] wrote:

Closed #795 https://github.com/junegunn/vim-plug/issues/795.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/junegunn/vim-plug/issues/795#event-2176642785, or mute the thread https://github.com/notifications/unsubscribe-auth/ARThWUfLdNm_LEu8wU11QjfyudGMUbePks5vTHOfgaJpZM4X21-T .

ziweiwu avatar Mar 04 '19 01:03 ziweiwu

I would also like a homebrew formula for vim-plug.

Encouraging people to copy-paste complicated commands into their terminals is encouraging unsafe behavior.

CaraJDonnelly avatar May 23 '20 12:05 CaraJDonnelly

So I don't see much point of using Homebrew

People want a unified package management and not keep 1 software under 'git' command which also makes updating harder than just hitting the 'update' command on homebrew.

Homebrew is not just for Mac but there's also Linuxbrew.

nextlogic-ono avatar Aug 26 '20 16:08 nextlogic-ono

@CaraJDonnelly @windware-ono If you really want it, you can make a Homebrew formula for vim-plug and send a pull request to homebrew-core. I don't need one so I have no plan to work on it.

junegunn avatar Aug 27 '20 09:08 junegunn