Clone this gist, cd into cloned directory
Run sudo docker build -t vim .
Run container with sudo docker run --rm -i -t vim
let g:startDir = '/workdir' | |
noremap <Up> <NOP> | |
noremap <Down> <NOP> | |
noremap <Left> <NOP> | |
noremap <Right> <NOP> |
FROM fedora:23 | |
MAINTAINER Xerkus | |
RUN dnf -y upgrade && dnf clean all | |
RUN dnf -y install \ | |
vim \ | |
vim-enhanced \ | |
git \ | |
&& dnf clean all | |
RUN mkdir -p /workdir | |
RUN git clone --recursive -b master https://github.com/Xerkus/vim-configuration.git /root/.vim | |
RUN ln -s /root/.vim/.vimrc /root/.vimrc | |
COPY config.local.vim /root/.vim/config.local.vim | |
RUN vim +BundleInstall! +BundleClean +qall | |
WORKDIR /workdir | |
CMD vim |