Skip to content

Let vim-plug manage itself #69

Closed
Closed
@yous

Description

@yous

I used Vundle.vim and liked the way of they manages itself. I wondered if vim-plug is possible too, so I cloned vim-plug into ~/.vim/plugged/vim-plug and tested with my .vimrc:

set runtimepath=~/.vim/plugged/vim-plug
call plug#begin('~/.vim/plugged')
" Let vim-plug manage itself
Plug 'junegunn/vim-plug'
" Many plugs...
call plug#end()

Note that plug.vim is in root directory of vim-plug, so I moved it to vim-plug/autoload/plug.vim and it works flawlessly.

When this is done, PlugUpdate does PlugUpgrade too so it can be removed. But I think it can make some compatibility issue for pre-installed users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions