You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 25, 2022. It is now read-only.
It might be weird why I run the base image jare/alpine-vim rather than the vim-bundle image. I do so in order to learn how to create my own vim docker image from scratch and attempted to use the base image as a starting point.
I only need add one line before ENTRYPOINT statment of alpine-vim-base/Dockerfile:
WORKDIR /workspace
Build this image after I cd into the repo:
docker build -t docker-vim alpine-vim-base
And I run it for editing:
docker run -it --rm -v pwd:/workspace docker-vim alpine-vim-base/Dockerfile
Surprisingly, vim does not render all content. You can see 1/3 of lines are blank:
And if I run :set nu to display line number, the problem becomes more visible, and you can not even scroll up to go to the begining of the file:
I must say this issue is intermittent, and one out of ten it might give me proper display. Please anyone can help me?
Environment: macOS Mojave 10.14.1
Docker: