Comments (4)
@singlaive But if you build vim-bundle it works fine? I haven't re-built the images for a while. Mb it's a new issue with next vim/deps versions.
from alpine-vim.
Yes vim-bundle is fine. I am not saying there is anything wrong with your Dockerfile or your repo, I think it is some pitfall about run vim in docker. The symptom is:
- Building vim-bundle ends up with solarised scheme not installed properly somehow. when run vim-bundle, it throw error about not finding solarised, then entering vim it displays fine. BUTTTTTT, if I explicitly update the Dockerfile for vim-bundle and install solarised theme thus no error, it does not display properly exactly like what presented above.
- Shrinking the Dockerfile of alpine-vim to be only those four lines and it still reproduces this issue:
From alpine
apk add vim
WORKDIR /workspace
ENTRYPOINT vim
Note: Actually no matter you install vim from apk or build it from source there is no difference, the issue exists. - If you do docker run -it --entrypoint /bin/sh to get into the container first, then run vim inside, it displays fine.
It does look like it is a configureation issue only appearing when you run vim via docker, but I tried quite a few hours and cannot narrow down the root cause. Please help.
from alpine-vim.
@singlaive You can try running it via mosh. See https://github.com/JAremko/drop-in
It should help if it's some kind of terminal compatibility problem.
from alpine-vim.
@singlaive Also try setting env variable TERM=xterm
or mb TERM=xterm-256color
via docker's -e
run-flag.
from alpine-vim.
Related Issues (10)
- throw a error in osx10.11.5 HOT 7
- Default maping is weird. HOT 1
- can not cd to /home/developer/workspace :permission denied HOT 2
- arm supported?
- windows HOT 1
- Add ability to choose uid and gid HOT 2
- some plugins not loading HOT 1
- Vim looks weird even with Solarized Dark theme HOT 5
- Cannot create diffs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alpine-vim.