Re: PilCon tomorrow (Anatomy of Vip)

2021-04-18 Thread Alexander Burger
On Sun, Apr 18, 2021 at 07:13:50PM +0200, Alexander Burger wrote: > OK, thinking about it, I simplified it a little and will indeed use it > occasionally perhaps :) > >(de *F9 # Eval lines till mark "e" > (evCmd > (run (str (getText (jmpMark "e" ) ) > ... > So now I do "me"

Re: PilCon tomorrow (Anatomy of Vip)

2021-04-18 Thread Alexander Burger
On Sun, Apr 18, 2021 at 06:51:26PM +0200, Alexander Burger wrote: > For example, put this into your .pil/viprc file: > >(de *F9 # Eval lines till mark > (evCmd > (run (str (getText (jmpMark (getch) NIL 1 ) ) OK, thinking about it, I simplified it a little and will indeed u

Re: PilCon tomorrow (Anatomy of Vip)

2021-04-18 Thread Alexander Burger
Hi Thorsten, > that is cool, a bit like in Emacs, where you work in a major mode buffer > and eval expressions there, maybe sending the results to a repl buffer. Yeah, but I never missed these features, so I did not bother ;) > What do you think about some more enhancements in that spirit: > >

Re: PilCon tomorrow (Anatomy of Vip)

2021-04-18 Thread Thorsten Jolitz
Hi Alex, that is cool, a bit like in Emacs, where you work in a major mode buffer and eval expressions there, maybe sending the results to a repl buffer. What do you think about some more enhancements in that spirit: [X] eval atom [X] eval expression [ ] eval definition/form (?) [ ] eval region [

Re: PilCon tomorrow (Anatomy of Vip)

2021-04-18 Thread Alexander Burger
Hi all, when a question or request came up at PilCon about evaluating expressions in Vip's edit buffer, I explained how this works in a line-oriented way in the bottom command window. Now (version 21.4.18) I added a similiar feature to normal edit buffers: Hitting Ctrl-E (edit) on either an open