Wednesday, November 18, 2020

Re: best library for data forms entry in vim

Den tis 17 nov. 2020 23:12hor...@gmail.com <horos22@gmail.com> skrev:
I'm not sure I made myself clear -  this particular application needs to be interactive.

In other words, you enter in values in one location, it calculates derivative values in another location, and you keep working on it until you are satisfied that you are in fact done with it. That is why vim stuck out as a possible solution - it really needs an editor. All my example was meant to do was show what I had in mind.

I had the same need a couple of years ago. The script I wrote for the purpose (and just updated for publicizing) does not work from inside an editor but does interactively replace placeholders (format configurable) in a text file with prompted-for values, optionally silently inserting already "known" values on subsequent occurrences of the same placeholder. You can also optionally preload a default key-value mapping from a YAML or JSON file and/or save the collected/modified data to a YAML file.



so have people attempted this? if so which api should I be looking at..


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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/c3b018f8-bd51-44a6-900f-adbc7dbd22een%40googlegroups.com.

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CADAJKhC7fke2X8ojo2_0zixfpz%3DRz5b3%3D5W8qS2rfM6Fry0JxA%40mail.gmail.com.

No comments:

Post a Comment