terrychou / iVim

A vim port to iOS.
598 stars 35 forks source link

iVim not showing up in Files app #144

Closed jeffgravitywell closed 4 years ago

jeffgravitywell commented 4 years ago

Hi, I recently purchased iVim and got the iOS file sharing working locally but the folder doesn't appear in the Files app (or sync anywhere else it seems). If I do a search in FIles for iVim, it finds the app folde. When I open the folder, it shows me the files I created. The issue is that these files don't appear anywhere else. Am I missing something with setup?

suliveevil commented 4 years ago
:!mkdir MyFolder
jeffgravitywell commented 4 years ago

I tried that and I can't even find that folder. It's very strange. When I go to iCloud in the Files app there are folders there for specific apps -- Textastic, etc. But none for iVIM. If I search for iVIM I find the folder and can interact with it normally but the files don't actually sync to the cloud or appear on other devices. It seems like it is failing to register the app as a valid document provider and sharer. I don't know how to force that part of it.

suliveevil commented 4 years ago

This is no iCloud Folder, only “On my iPhone/iPad”.

jeffgravitywell commented 4 years ago

I guess the question then becomes -- is there any way to share the files created in iVim to the mac? It doesn't appear as though they are syncing anywhere. I had assumed that they would appear in the Files app which sync those files over to the Mac via iCloud. Maybe I have the whole structure wrong in my brain. Sorry for the confusion.

jeffgravitywell commented 4 years ago

I found that if I save files into the "Downloads" folder, it syncs to the Mac. Strange that none of the other app folders sync over (or the subfolder I created in Documents). I'm going to wait a while and see if the folders and files are just really slow in syncing over.

suliveevil commented 4 years ago

Move your files under On My iPad/iVim/ to a folder under iCloud Drive/ .

Or you can just use :idoc to use iVim editing files out of On My iPad/iVim/ .

:ishare will share what you are editing now as a file, you can choose a location under iCloud Drive/ to save it.

jeffgravitywell commented 4 years ago

Perfect. Thanks very much for your patience and help today.

ewok-old commented 4 years ago

I’ve updated iVim today on v2.22 and now I don’t see iVim folder in “On my iPhone/iPad” section. It disappeared =((

I was using WorkingCopy to sync files which I was editing. Now I am not able to do that.

Could you say, it is an expected behavior or not?

terrychou commented 4 years ago

This is weird. v2.22 didn't make any change concerning this part. Have you encountered this issue on other devices?

ewok-old commented 4 years ago

@terrychou Thank you for the tip! I tried to install it on my iPhone and all works as expected. Then I reinstalled it on my iPad and nothing happened. And just in case I rebooted the iPad and the folder came back. I suspect this is kind of iOS glitch. Sorry for disturbing you!

terrychou commented 4 years ago

@ewok no problem. Glad you get everything back.