jaremko / alpine-vim Goto Github PK
View Code? Open in Web Editor NEW"dockerized" Vim
"dockerized" Vim
At the latese version, got a error.
is there any way to start it on windows ?
The following error is occurring when issuing :Gdiff
:
Error detected while processing function <SNR>31_Diff:
line 60:
E97: Cannot create diffs
Press ENTER or type command to continue
The same happens when running vimdiff
against any files
this is what i run in iterm2:
docker pull jare/vim-bundle
alias vv="docker run -ti --rm -v $(pwd):/home/developer/workspace jare/vim-bundle"
vv index.html
but it throw a error :
can you help me to fixed this? thank you very much.
Error detected while processing /usr/share/vim/vim74/colors/desert.vim:
line 27:
E254: Cannot allocate color khaki
E254: Cannot allocate color slategrey
line 36:
E254: Cannot allocate color gold
line 37:
E254: Cannot allocate color tan
line 38:
E254: Cannot allocate color slategrey
E254: Cannot allocate color khaki
line 40:
E254: Cannot allocate color goldenrod
line 43:
E254: Cannot allocate color springgreen
line 44:
E254: Cannot allocate color peru
E254: Cannot allocate color wheat
line 45:
E254: Cannot allocate color yellowgreen
line 48:
E254: Cannot allocate color indianred
line 49:
E254: Cannot allocate color khaki
E254: Cannot allocate color olivedrab
line 51:
E254: Cannot allocate color salmon
line 58:
E254: Cannot allocate color SkyBlue
line 60:
E254: Cannot allocate color palegreen
line 61:
E254: Cannot allocate color khaki
line 62:
E254: Cannot allocate color indianred
line 63:
E254: Cannot allocate color darkkhaki
line 64:
E254: Cannot allocate color navajowhite
line 68:
E254: Cannot allocate color orangered
E254: Cannot allocate color yellow2
line 27:
E254: Cannot allocate color khaki
E254: Cannot allocate color slategrey
line 36:
E254: Cannot allocate color gold
line 37:
E254: Cannot allocate color tan
line 38:
E254: Cannot allocate color slategrey
E254: Cannot allocate color khaki
line 40:
E254: Cannot allocate color goldenrod
line 43:
E254: Cannot allocate color springgreen
line 44:
E254: Cannot allocate color peru
E254: Cannot allocate color wheat
line 45:
E254: Cannot allocate color yellowgreen
line 48:
E254: Cannot allocate color indianred
line 49:
E254: Cannot allocate color khaki
E254: Cannot allocate color olivedrab
line 51:
E254: Cannot allocate color salmon
line 58:
E254: Cannot allocate color SkyBlue
line 60:
E254: Cannot allocate color palegreen
line 61:
E254: Cannot allocate color khaki
line 62:
E254: Cannot allocate color indianred
line 63:
E254: Cannot allocate color darkkhaki
line 64:
E254: Cannot allocate color navajowhite
line 68:
E254: Cannot allocate color orangered
E254: Cannot allocate color yellow2
Error detected while processing /home/developer/.vimrc:
line 197:
E185: Cannot find color scheme 'peaksea'
Error detected while processing /usr/share/vim/vim74/colors/desert.vim:
line 27:
E254: Cannot allocate color khaki
E254: Cannot allocate color slategrey
line 36:
E254: Cannot allocate color gold
line 37:
E254: Cannot allocate color tan
line 38:
E254: Cannot allocate color slategrey
E254: Cannot allocate color khaki
line 40:
E254: Cannot allocate color goldenrod
line 43:
E254: Cannot allocate color springgreen
line 44:
E254: Cannot allocate color peru
E254: Cannot allocate color wheat
line 45:
E254: Cannot allocate color yellowgreen
line 48:
E254: Cannot allocate color indianred
line 49:
E254: Cannot allocate color khaki
E254: Cannot allocate color olivedrab
line 51:
E254: Cannot allocate color salmon
line 58:
E254: Cannot allocate color SkyBlue
line 60:
E254: Cannot allocate color palegreen
line 61:
E254: Cannot allocate color khaki
line 62:
E254: Cannot allocate color indianred
line 63:
E254: Cannot allocate color darkkhaki
line 64:
E254: Cannot allocate color navajowhite
line 68:
E254: Cannot allocate color orangered
E254: Cannot allocate color yellow2
Press ENTER or type command to continue
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:
Hi
I am trying to use multi-cursor with the key <C-n>
- Try it three times.
It shows a weird error, sometimes it cuts the characters, sometimes it deletes the entire line.
I'm trying to edit the contents of a volume, but I need uid = 100 and gid = nobody
It would be nice if the container somehow respected docker run --user 100:nobody so I was able to edit my files with the correct permissions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.