Re: Use the bridge, Luke

2019-06-20 Thread Edward K. Ream
On Thursday, June 20, 2019 at 8:36:34 AM UTC-5, Josef wrote: > > > Support for vim-script may add additional functionality if it would > support vim plugins, as there are many available. For me, there are > currently just a few reasons for using vim in parallel to Leo: vim starts > up fast,

Re: Use the bridge, Luke

2019-06-20 Thread Josef
Support for vim-script may add additional functionality if it would support vim plugins, as there are many available. For me, there are currently just a few reasons for using vim in parallel to Leo: vim starts up fast, has syntax highlighting for just about anything with good print support,

Re: Use the bridge, Luke

2019-06-19 Thread Edward K. Ream
On Wed, Jun 19, 2019 at 7:38 AM Terry Brown wrote: Ok, this script appends the outline headlines, indented, to the current > vim buffer: > Many thanks for this! I'll add this to scripts.leo and Leo's bridge chapter. Edward -- You received this message because you are subscribed to the

Re: Use the bridge, Luke

2019-06-19 Thread Terry Brown
On Wed, 19 Jun 2019 00:52:54 -0500 "Edward K. Ream" wrote: > On Tue, Jun 18, 2019 at 6:27 PM Terry Brown > wrote: > > Then I'm not sure that there's really anything to do. Python's > > well integrated into vim, so you can just use leoBridge as usual. > > > Cool. > > > I guess I can do

Re: Use the bridge, Luke

2019-06-18 Thread Edward K. Ream
On Tue, Jun 18, 2019 at 6:27 PM Terry Brown wrote: Then I'm not sure that there's really anything to do. Python's > well integrated into vim, so you can just use leoBridge as usual. Cool. > I guess I can do something to verify that, but I can't see why it > wouldn't work. > Please do.

Re: Use the bridge, Luke

2019-06-18 Thread Terry Brown
On Tue, 18 Jun 2019 17:20:37 -0500 "Edward K. Ream" wrote: > On Tue, Jun 18, 2019 at 2:22 PM Terry Brown > wrote: > > > > Thanks. I didn't know that. In that case the entire vim plugin > > > would be based on this > > > . Care to give it > > > a

Re: Use the bridge, Luke

2019-06-18 Thread Edward K. Ream
On Tue, Jun 18, 2019 at 2:22 PM Terry Brown wrote: > > > Thanks. I didn't know that. In that case the entire vim plugin would > > be based on this . > > Care to give it a go? > > Not without much more specific objectives ;-) > The objective is

Re: Use the bridge, Luke

2019-06-18 Thread Terry Brown
On Tue, 18 Jun 2019 11:31:30 -0700 (PDT) "Edward K. Ream" wrote: > > > On Tuesday, June 18, 2019 at 12:38:51 PM UTC-5, Terry Brown wrote: > > > > A lot of vim plugins are written in Python, so perhaps you could > > use that instead of vimscript. > > > > Thanks. I didn't know that. In that

Re: Use the bridge, Luke

2019-06-18 Thread Edward K. Ream
On Tuesday, June 18, 2019 at 12:38:51 PM UTC-5, Terry Brown wrote: > > A lot of vim plugins are written in Python, so perhaps you could use that > instead of vimscript. > Thanks. I didn't know that. In that case the entire vim plugin would be based on this

Re: Use the bridge, Luke

2019-06-18 Thread Terry Brown
A lot of vim plugins are written in Python, so perhaps you could use that instead of vimscript. Cheers -Terry On Tue, Jun 18, 2019 at 12:07 PM Edward K. Ream wrote: > Integrating pyzo into Leo fails because pyzo's shell can't control Leo's > gui. However, such scripts *could *access the data

Use the bridge, Luke

2019-06-18 Thread Edward K. Ream
Integrating pyzo into Leo fails because pyzo's shell can't control Leo's gui. However, such scripts *could *access the data in Leo outlines using Leo's bridge . That is, Leo's bridge supports *restricted Leonine scripts*. This in no way tempts me to embed