diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-03-22 16:06:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-22 16:06:22 +0100 |
commit | 48057eab11004383a97d08e8df2ae6795cf2a6d1 (patch) | |
tree | 78fedafc27391695f1c08a2d7209c9822198307a | |
parent | d4a2b3c4f4d5f77f0fb7be2e4e9bb5d71a0c957e (diff) | |
parent | 9c9c1273bbd1c01374faa5d65af06954966c098b (diff) | |
download | vyos-build-48057eab11004383a97d08e8df2ae6795cf2a6d1.tar.gz vyos-build-48057eab11004383a97d08e8df2ae6795cf2a6d1.zip |
Merge pull request #96 from jjakob/docker-vim-mouse
T2144: docker: disable mouse in vim completely
-rw-r--r-- | docker/Dockerfile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 26ef80b7..880e2945 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -391,9 +391,8 @@ RUN echo "$(opam env --root=/opt/opam --set-root)" >> /etc/skel/.bashrc # Cleanup RUN rm -rf /tmp/* -# Do not enable visual mode on right click in vim -# https://github.com/vim/vim/issues/1326 -RUN echo "set mouse-=a" >> /etc/vim/vimrc +# Disable mouse in vim +RUN echo -e "set mouse=\nset ttymouse=" > /etc/vim/vimrc.local COPY entrypoint.sh /usr/local/bin/entrypoint.sh ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] |