This image combines tmux with vim and thus offers a portable, cli-based dev-environment. Both tools, as well as the zsh-shell this images uses, are tailored through a bunch of custom adjustments to match my local environment as close as possible.
The setup was inspired by Keegan Lowensteins blog-post which explains used configs in detail (and also talks about stuff which goes beyond this images' setup).
schoeffm/vimux)vim and tmux) using <CTRL>+l, <CTRL>+h etc.vim to easily execute commands in tmux-panes
<Leader>vp for :VimuxPromptCommand / <Leader>vl for :VimuxRunLastCommand\ is hard to use - turned to , insteadvim to browse workspace-content with ease
<F9> or <Leader>1schoeffm/vimux:powerline)tmux as well as zsh (as well as python which is a prerequisite to run powerline - that's the reason for a separate image-version)schoeffm/vimux:docker)docker and docker-compose CLI tools.
docker.sock socket to the container - by that means you'll be able to use your local docker-host and build (local) images from within vimux-container.After cloning the repository you should be able to use the run.sh script which provides you a menu to select a specific vimux-image version.
./run.sh
Select one of the follin' versions:
1) vimux
2) powerline
3) withDocker
#? _
All these commands will mount the current users home directory into the working-dir of the container - so you should be able to start right away.
Of course you're also able to run the container manually, like:
# will run the base-version which maps the current working directory into the container
docker run --name vimux -ti -v $(pwd):/data schoeffm/vimux
# same as above but this one uses the powerline-version
docker run --name vimux -ti -v $(pwd):/data schoeffm/vimux:powerline
# this one maps the docker.sock into the container
docker run --name vimux -ti -v $(pwd):/data -v /var/run/docker.sock:/var/run/docker.sock schoeffm/vimux:docker
See also the followin' screencast for an example:
./buildAll.sh # will build all container one by one
docker build . # builds the default version - schoeffm/vimux
docker build -f Dockerfile.powerline . # adds powerline to tmux/zsh as well - schoeffm/vimux:powerline
docker build -f Dockerfile.withDocker . # also installs docker cli-tools - schoeffm/vimux:docker
Content type
Image
Digest
Size
127.5 MB
Last updated
over 8 years ago
docker pull schoeffm/vimux