On Jan 5, 1:40 pm, Eric Weir <[email protected]> wrote:
> When I select Vim from the apps set up for sharing on iTunes,
> click on the add button and select a file on the MacBook, and
> then click on the Save to... button, Finder does not show the
> iPad as a connected device. I don't see any way to navigate to
> it.

You will need to make a copy of your '.vimrc',
re-name it 'v', and save it to the desktop.

You need this step because the Mac file open dialog
will not see the .vimrc file because it is a unix hidden file.

When you get it on the ios device you will need to
re-name it back to '.vimrc'.

Now:
+ connect ios device to the Mac with usb
+ open iTunes
+ click on the ios device mounting icon
+ at the bottom click the vim icon
+ click the Add... button, you will NOT use 'Save to...' button
+ use the file open dialog to browse to your 'v' file
+ select it and click Open

The 'v' file will show in the list above the Add... button and
it has been transferred to the ios device.

You do not use the 'Save to...' button when transferring to the
ios device, only when transferring from the ios device to Mac.

Note:
strings in '...' single quotes are to be typed LITERALLY
but without the single quotes.

Now for the tricky part:
+ open vim on the ios device
+ type this LITERALLY 'nm <lf> <cr>' then press return
- that will map linefeed to carriage return
+ type ':E' then press return (note uppercase 'E')
+ you should now be browsing the file system and
- see the 'v' file
+ use two fingers to scroll and hide keyboard
+ use one finger to select the 'v' file
+ select the 'v' file and type 'R' for Rename
+ delete the 'v' and type '.vimrc'
- because you do not have cursor keys
+ use two fingers to scroll and hide keyboard
+ use one finger to select the '.vimrc' file
- then press return
+ you should now be back in vim looking at your .vimrc file!
+ add 'nm <lf> <cr>' to your '.vimrc' file

Bill

-- 
You received this message from the "vim_mac" 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

Reply via email to