hi, i'm planning to implement a plugin that uses vifm inside neovim.
so you may wonder: why not use vifm.vim?
it's written by vimscript, i know little about vimscript, i hardly can built my own rice based on it
i want to make use of neovim's lua api to gain speed advantages, and i know more lua than vimscript
from what i know so far, that's what i am going to do:
the essential part is using neovim's builtin terminal + vifm --choose-files - --choose-dir -
shows vifm in a neovim float window
i do want to reuse this terminal+vifm process, not a oneshot operation, to reduce the overhead/initialization time between each selections.
i saw vifm provides lua api too, but i failed to find an example describes how to use it; i had read vifm.vim/doc/app/vifm-lua.txt
, but still have no idea on using it.
if possible, i also plan to use lua inside vifm to communicate with neovim's rpc to achieve this "reuse" goal.
how do you think about my plan? could you point out some falsehood and improvements?
thanks for your reply and time!