Tuesday, May 21, 2019

Re: Vim "by far the best editor on the iPad"

On 18 May 2019, at 20:17, Eric Weir <eeweir@bellsouth.net> wrote:
>
>
> Lotsa questions about running Vim on an iPad within the constraints of iOS/iVim. For starters, just two: Is it possible to create folders in the iVim sandbox, e.g., in the .vim folder?

Yes. You can do it with netrw:

:edit .
d
Type directory name

You may get an error, but the directory is created. Anyway, much easier is to copy your .vim folder from your Mac using iTunes. For more about moving files into and from iVim, see `:help ios-share`. For iOS-specific information, see `:help ios`. You may long-tap with one finger to hide/show the extended keys above the keyboard and long-tap with two fingers to hide the keyboard (type with one finger to show it again): this will make more room for reading. Use two fingers to scroll.

For plugins, pure VimScript plugins should generally work (but keep in mind that iVim is based on Vim 7.4). If a plugin requires Python, Perl or Ruby then you're out of luck.

> Where is the .vimrc?

In /private/var/mobile/Containers/Data/Application/APP-ID/Documents. Use :lcd to see the full path.
You may access your sandboxed directory with netrw as above:

:edit .
:Rex (to exit netrw)

See :help netrw for more information (only a subset of netrw functionality is working in iVim).

Life.

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/BE3389BA-D12A-4816-ABF0-162057A218AC%40icloud.com.
For more options, visit https://groups.google.com/d/optout.

No comments: