terrychou / iVim

A vim port to iOS.
599 stars 34 forks source link

Writings on iVim from you #107

Open terrychou opened 4 years ago

terrychou commented 4 years ago

@brettc sent me an email saying that they would like to share how they are using iVim and managing plugins with the help of Working Copy: https://github.com/brettc/ivim

It always feels great to know that iVim helps. If you have something like this and would like to share, please do not hesitate and post the link here in this thread. It would probably help someone in need.

mchalkley commented 4 years ago

This is awesome - thank you for posting it!

suliveevil commented 4 years ago

Great idea! I use iSH as git tool and done it completely on iPadOS.

suliveevil commented 4 years ago

Working Copy is not good enough

Working Copy’s Bidirectional Synchronization and submodule sucks!

I’m no longer using Working Copy’s submodule.

Vim 8 builtin package management is simple

You just need to put the plugin folder under ~/.vim/pack/*/start/,Vim will autoload your plugins

what is the *

It means you can and must have a folder under ~/.vim/pack/,this folder’s name can be any character(usable as folder name).

Use your own folder instead of ~/.vim

Why ?

because ~/.vim couldn’t be seen in Files App.

How ?

Put your folder under On my iPad/iVim

Use LibTerm to open On my iPad/iVim Then run this ln -s your-folder’s-name .vimcommand It will make .vim as a symbolink of your folder

Now you can manually download vim plugin’s repo as zip and unzip it to $HOME/your-folder’s-name/pack/xxxxx/start/.

Then vim builtin package management will recognize all of plugins.

htkm commented 4 years ago

Could you elaborate on ps and pps?

What kind of problem made you ask about $HOME/vim? What is the specific part of setup you want to get?

suliveevil commented 4 years ago

I explained in my ps and pps. I will update my comment to make it more plainly understandable.

kuochang commented 4 years ago

Thanks @brettc and Terry for this post. Now iPad and iVim is my daily driver for my workflow. One of the tips(Writing on iVim) I would like to share here is how to preview the markdown file in iPad with iVim since all the plugins for markdown preview can’t work in iPad. I use IA writer as the my iVIM markdown preview tool. When I edit my markdown file in ivim, I type “:ish” and then share the doc to IA writer. Then I place IA writer window side by side with iVIM. In IA writer, press and then you can see the markdown preview in realtime. Then you can continue to edit your text in iVIM and see the preview in IA writer side by side.:)

Also, SIRI shortcut can work with iVim well. I wrote several simple shortcut that I can quickly convert the text in iVim into apple mail in the markdown format. As said, iPad Pro with keyboard is my daily driver and I don’t need my Macbook Air even when I have the long biz trip. Hopefully above is useful for vim users as writers on iPad.:)

kuochang commented 4 years ago

There’re missing words... “In IA Writer, press control-R...”:)

sedm0784 commented 1 year ago

I wrote a blogpost about “iVimClippy”, a shortcut I made to quickly edit my iOS clipboard in iVim.