From 47647d40164b81c02367499ad3a0a9eb67029c8c Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 2 Feb 2020 15:34:16 +0100 Subject: Docker: do not enable visual mode on right click in vim --- docker/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docker') diff --git a/docker/Dockerfile b/docker/Dockerfile index 8d3fd1b5..bd1212ed 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -378,5 +378,9 @@ 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 + COPY entrypoint.sh /usr/local/bin/entrypoint.sh ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] -- cgit v1.2.3