yokoiwa
yokoiwa

Reputation: 107

Any shell command to directly let dein.vim to install plugins?

Any shell command to directly let dein.vim to install plugins?

I want to set up my own (Neo)Vim environment on a docker container. It would be nice if I could install vim plugins on only Dockerfile (without executing nvim).

Upvotes: 3

Views: 457

Answers (1)

sudo bangbang
sudo bangbang

Reputation: 28189

This can be done with -c flag.

nvim -c 'call dein#install() | q'

This will open up vim run commands (in this case dein#install and quit)

Upvotes: 4

Related Questions