Vim-plug: Publish Homebrew formula

Created on 24 Oct 2018  Â·  8Comments  Â·  Source: junegunn/vim-plug

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

wontfix

Most helpful comment

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.

All 8 comments

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:

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.

That's a good idea.

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.

Make sense, home brew is bit redundant.

On Sunday, March 3, 2019, Junegunn Choi notifications@github.com 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
.

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

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

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.

@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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jdhao picture jdhao  Â·  11Comments

raghur picture raghur  Â·  25Comments

rosstimson picture rosstimson  Â·  16Comments

chemzqm picture chemzqm  Â·  9Comments

zoqaeski picture zoqaeski  Â·  10Comments