Wednesday, February 20, 2013

Re: ios vim and plugins

On Wednesday, February 20, 2013 1:43:06 PM UTC-6, Eric Weir wrote:
>
> When I try to delete a folder in the vim app I get a several line error message, the first line of which is "cannot fork." Does this mean you can create folders in vim on the ipad but you can't delete them?

Looks that way. Apparently netrw calls some external process to delete directories.

> If I managed to get a plugin manager installed that goes out to the web, locates plugins, and installs them, would it work?

Not if that manager relies on some external process (git, wget, curl, etc) to go out on the web. None of that stuff is available to the Vim.app.

> Or would it violate Apple's rules for what can be done in ios apps?

Fetching stuff from the web doesn't violate Apple's rules. Installing and calling unix cli programs does. So for this to even begin to work, someone needs to integrate support for the relevant web protocol directly into the App.

> Sure would be an easier way to get plugins installed than trying to do it through netrw.

And this is just the basic problem with the current Vim.app on iOS: it provides no reasonable way to get documents (including plugins) in and out.

> And I guess a second request: Is there something more user-friendly than netrw help that would help me learn how to do basic things on netrw?

You have to realize that most of the functionality of netrw is not available on iOS. All the "net" functions depend on external helper apps (git, ssh, ftp, curl, etc), and those are not available to the iOS app. So it is just a matter of poking around and seeing which of the local file/folder management commands happen to be implemented in pure vimscript.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: