diff --git a/Dockerfile b/Dockerfile index 9e7ae57..7d38794 100644 --- a/Dockerfile +++ b/Dockerfile @@ -67,6 +67,7 @@ USER root RUN mkdir /zsh_history \ && touch /zsh_history/.zsh_history \ && chown -R $USERNAME /zsh_history +ADD cpp.vim /home/$USERNAME/.vim/after/ftplugin/cpp.vim RUN chown -R $USERNAME /home/$USERNAME/ ADD entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh diff --git a/cpp.vim b/cpp.vim new file mode 100644 index 0000000..f06a24a --- /dev/null +++ b/cpp.vim @@ -0,0 +1,4 @@ +setlocal cindent +setlocal shiftwidth=2 +setlocal expandtab +setlocal tabstop=2