summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-02-02 15:34:16 +0100
committerChristian Poessinger <christian@poessinger.com>2020-02-02 15:34:31 +0100
commit47647d40164b81c02367499ad3a0a9eb67029c8c (patch)
tree025790b13f7210b13ebc72d3745d083cba84ba21 /docker
parentcabc4f253d2dda93fb49770aff22b9eb4dfbf285 (diff)
downloadvyos-build-47647d40164b81c02367499ad3a0a9eb67029c8c.tar.gz
vyos-build-47647d40164b81c02367499ad3a0a9eb67029c8c.zip
Docker: do not enable visual mode on right click in vim
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile4
1 files changed, 4 insertions, 0 deletions
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"]