Plugin focused on help build cool stuff inside a docker container.
This plugin support pathogen and should work with other similar plugins.
cd ~/.vim/bundle
git clone https://github.com/zanfire/vim-build-in-docker
Vim 8.0 and highly raccomanded with asyncrun.
g:build_in_docker_add_hosts='test1.org:192.168.0.1 test2.org:192.168.0.2'
g:build_in_docker_volumes='/opt/custom1:/opt/custom1 /var/log/custom:/var/log/custom'
Run a command in a container
:RunInDocker container1 make -C build
:RunInDocker -cwd=<root> container1 make -C build
RunInDocker support -cwd
option with these values: , , , path
<root>
: guess the root folder.<file>
: path of the current file<cwd>
: current working directory- path : an absolute path
This is a early beta version developed and tested only on Linux.