Wednesday, May 29, 2019

Re: Looking for help getting iVim set up

On 29 May 2019, at 10:27, 'Lifepillar' via vim_use <vim_use@googlegroups.com> wrote:

On 29 May 2019, at 00:53, Eric Weir <eeweir@bellsouth.net> wrote:

I'm struggling trying to get iVim setup on my iPad. I wish there was a way to put problems and questions to a community of experienced users.

Most immediately are the walls I'm running into in trying to import my .vim folder and my .vimrc. The iTunes method won't work because the file picker in iTunes doesn't display invisible files and there seems to be no option to force it to do so. The iVim command ":idocuments import" seems to work with files but not folders.

I feel your pain, that's much harder than it should be.

TLDR: prepare your .vim folder in your computer exactly as you want it in iOS, open Finder, press Cmd-Shift-. to show invisible files, drag the .vim folder into iVim using iTunes Files Sharing. iTunes *does* copy dot files even if it never shows them. iTunes will even prompt you if you want to replace an existing .vim folder (iTunes UI sucks, I know).

If fact, there's a better way: in netrw, move the cursor to .vim and press R to rename .vim without a dot (or, if .vim doesn't exist yet, create a `vim` directory by pressing d). Now the folder will be visible in Files and iTunes. Copy/move/delete/update the files you need then go back to netrw in iVim an rename it back to `.vim`.

Btw, is its utter ugliness, Files allows you to perform all basic file system tasks. For instance, to copy a file/folder, long tap the folder then release, to show a menu to Copy, Move, Delete, etc… To paste a file/folder, go to the target location, the long press the screen and choose Paste.

Hope this helps you get going,
Life.

No comments: