Skip to content

vim-plugをsubmoduleとして追加 #1

Description

@lunastera

現在ではvim-plugがない場合にディレクトリを作ってcloneする処理になっている。

if !isdirectory(expand('~/.vim/plugged/vim-plug'))
echo 'install vim-plug...'
call system('mkdir -p ~/.vim/plugged/vim-plug')
call system('git clone https://github.com/junegunn/vim-plug.git ~/.vim/plugged/vim-plug/autoload')
endif

tpmはsubmoduleとして追加しているため、統一的に扱いたいならsubmoduleでの管理が良さそう。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions