Vim-plug: Cannot install 'AdvancedSorters' with PlugInstall on Macosx, it says 'No plugin to install'

Created on 9 Aug 2017  路  8Comments  路  Source: junegunn/vim-plug

Hi,

Inside Vim, I type :PlugInstall AdvancedSorters and Vim answers No plugin to install.

My .vimrc has the following lines :

call plug#begin('~/.vim/plugged')
" Initialize plugin system
call plug#end()

Do I have to load AdvancedSorters before installing it ?

If so, how do I do that ?


:version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jun  6 2017 17:53:37)
MacOS X (unix) version
Included patches: 1-627
Compiled by Homebrew
Huge version without GUI.  Features included (+) or not (-):
+acl             +cscope          -footer          +menu            +num64           +startuptime     +virtualedit
+arabic          +cursorbind      +fork()          +mksession       +packages        +statusline      +visual
+autocmd         +cursorshape     -gettext         +modify_fname    +path_extra      -sun_workshop    +visualextra
-balloon_eval    +dialog_con      -hangul_input    +mouse           +perl            +syntax          +viminfo
-browse          +diff            +iconv           -mouseshape      +persistent_undo +tag_binary      +vreplace
++builtin_terms  +digraphs        +insert_expand   +mouse_dec       +postscript      +tag_old_static  +wildignore
+byte_offset     -dnd             +job             -mouse_gpm       +printer         -tag_any_white   +wildmenu
+channel         -ebcdic          +jumplist        -mouse_jsbterm   +profile         -tcl             +windows
+cindent         +emacs_tags      +keymap          +mouse_netterm   +python          +termguicolors   +writebackup
-clientserver    +eval            +lambda          +mouse_sgr       -python3         +terminfo        -X11
+clipboard       +ex_extra        +langmap         -mouse_sysmouse  +quickfix        +termresponse    -xfontset
+cmdline_compl   +extra_search    +libcall         +mouse_urxvt     +reltime         +textobjects     -xim
+cmdline_hist    +farsi           +linebreak       +mouse_xterm     +rightleft       +timers          -xpm
+cmdline_info    +file_in_path    +lispindent      +multi_byte      +ruby            +title           -xsmp
+comments        +find_in_path    +listcmds        +multi_lang      +scrollbind      -toolbar         -xterm_clipboard
+conceal         +float           +localmap        -mzscheme        +signs           +user_commands   -xterm_save
+cryptv          +folding         -lua             +netbeans_intg   +smartindent     +vertsplit
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X_UNIX  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang   -L. -fstack-protector -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/openssl/lib -L/usr/local/o
pt/readline/lib  -L/usr/local/lib -o vim        -lncurses -liconv -framework Cocoa   -mmacosx-version-min=10.12 -fstack-protecto
r-strong -L/usr/local/lib  -L/usr/local/Cellar/perl/5.24.1/lib/perl5/5.24.1/darwin-thread-multi-2level/CORE -lperl -lm -lutil -l
c -F/usr/local/opt/python/Frameworks -framework Python   -lruby.2.4.1 -lobjc

  • Type:

    • [ ] Bug

    • [ ] Enhancement

    • [ ] Feature Request

    • [x] Question

  • OS:

    • [ ] All/Other

    • [ ] Linux

    • [x] OS X

    • [ ] Windows

  • Vim:

    • [x] Terminal Vim

    • [ ] GVim

    • [ ] Neovim

question

Most helpful comment

@sebma it should be:

Plug 'vim-scripts/matchit.zip'
Plug 'vim-scripts/python_match.vim'

You need to check the actual repo name before adding them to your vimrc.

All 8 comments

Yes, it should be:

call plug#begin('~/.vim/plugged')
Plug 'vim-scripts/AdvancedSorters'
call plug#end()

and then :PlugInstall

Does it install the AdvancedSorters dependencies also ?

Does it install the AdvancedSorters dependencies also ?

Does it have any dependencies? If the repo lists any dependencies (check the README), you'll have to install those as additional plugins.

Yes it depends on vim-scripts/ingo-library.

I thought vim-plug was able to resolve and install dependencies.

Unfortunately there's no standard dependency specification format for Vim plugins.

Hi,

Trying to install matchit with these lines :

Plug 'vim-scripts/matchit'
Plug 'vim-scripts/python_match'

but :PlugInstall says:

remote: Invalid username or password
fatal: Authentication failed for 'https://git::@github.com/vim-scripts/matchit.git/'
remote: Invalid username or password.
fatal: Authentication failed for 'https://git::@github.com/vim-scripts/python_match.git/'

Can you help me ?

@sebma it should be:

Plug 'vim-scripts/matchit.zip'
Plug 'vim-scripts/python_match.vim'

You need to check the actual repo name before adding them to your vimrc.

@nfischer Thanks a lot !

Was this page helpful?
0 / 5 - 0 ratings