I'm trying to write my own vifm plugin and I found the --choose-files can save the target file path, but I'm wondering if vifm can send the target directly into neovim by rpc or other stuff so we don't need to use io.read etc to get the file list. thx!
--choose-files accepts - which makes it print list of files on standard output. That's an RPC through pipes.
Or you can do this in Vifm and run with -c 'filetype * #nvim#open' if you need more control.
-c 'filetype * #nvim#open'