On 11/17/20 3:24 PM, rwmit...@gmail.com wrote:
> I would think sed is best choice as the entire substitution could be
> scripted.
> 

LISP

> On Tuesday, November 17, 2020 at 2:40:26 PM UTC-5 hor...@gmail.com wrote:
> 
>     All,
> 
>     I need to quickly enter data for thousands of structured documents -
>     ie: where I know the bulk of the document but there are placeholders
>     for specific variables. Think something like this:
> 
>         Dear <person>
> 
>         We received your order for <name>, price <price>,
>     quantity <quantity>, total <total>.
> 
>         Please look over the above information to make sure that this is
>     correct.
> 
>     I was hoping vim could do something like this, where it could limit
>     the input for the user to just the categories - leaving the form
>     intact, and where the different inputs could be linked so that some
>     values could be calculated via the values in other inputs.
> 
>     In other words, an efficient form of excel.
> 
>     Anyways I was looking at vim.org <http://vim.org/>, and there are a
>     number of forms libraries there but at first glance I'm not sure
>     which one is the most supported, user friendly, or overall functional.
> 
>     So my question is what is my best bet? this would save many
>     man-months worth of time and I was actually hoping that something
>     like this would be supported natively in vim itself - but at first
>     glance I don't see anything like this.
>     Any pointers on this would be greatly appreciated.
> 
>     Ed
> 
>     (ps - 
> 
>      My ideal interface would be something integrated into vim itself
>     where I could embed pieces of perl or python code in the fields -
>     and have the values of variables be set when users enter in these
>     fields. Something like:
> 
>     Dear {{ $person }},
> 
>         We received your order for  {{ $name }}, price {{ $price }},
>     quantity {{ $quantity }}, total {{ sub { $price * $quantity } }}.
> 
>     but if there is an external form library that would do the
>     equivalent I'd be happy to use it.
>     )
> 
> -- 
> -- 
> 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+unsubscr...@googlegroups.com
> <mailto:vim_use+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vim_use/4990ea22-e094-48e4-8609-64b47dae68f9n%40googlegroups.com
> <https://groups.google.com/d/msgid/vim_use/4990ea22-e094-48e4-8609-64b47dae68f9n%40googlegroups.com?utm_medium=email&utm_source=footer>.


-- 
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive
http://www.coinhangout.com - coins!
http://www.brooklyn-living.com

Being so tracked is for FARM ANIMALS and and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/c9b21037-3235-167b-8537-e9982981e499%40my.liu.edu.

Reply via email to