Giter Club home page Giter Club logo

Comments (4)

JAremko avatar JAremko commented on May 26, 2024

@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.

singlaive avatar singlaive commented on May 26, 2024

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.

JAremko avatar JAremko commented on May 26, 2024

@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.

JAremko avatar JAremko commented on May 26, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.