> If you're using Vim2 (which I highly recommend) you can use the yi
> excommand like so:
> :yi *action
> action* is evaluated using execEditorAction and can run any YiAction (YiA,
> EditorA, or BufferA) (it uses ghci under the hood).
Where can I get Vim2? I have yi and yi-contrib installed (0.6.7.0) and
have only Yi.Keymap.Vim

Thanks for followup, I found, that I actually can call function from
Env.hs, but not in yi.hs as

    :yi foo

Also, is it normal that

foo :: YiM
foo = withBuffer (insertN "Hello world")

works amount of time I can notice(around 1.0 sec)?

> :yi reload
It just hangs for me. Not critical, btw.


--
Best regards, Dmitry Bogatov <kact...@gnu.org>,
Free Software supporter and netiquette guardian.
        git clone git://kaction.name/rc-files.git --depth 1
        GPG: 54B7F00D
Html mail and proprietary format attachments are forwarded to /dev/null.

Attachment: pgplwb9crGD00.pgp
Description: PGP signature

Reply via email to