Re: Neovim as an easier way to add in a different editor

2018-02-22 Thread Terry Brown
On Thu, 22 Feb 2018 10:50:58 -0800 (PST)
"'tfer' via leo-editor"  wrote:

> Why I say this should be easy is that Neovim uses Msgpack rpc to give
> you complete control of Neovim.  Three things are needed:
>1) provide a way to embed the Qt frontend as a new/alternative
> editor pane and connect to an running neovim instance.
>2) switch all the leo code that fills/updates the current editor
> pane into msgpack calls that fill or update the body text of the
> current node to/from the neovim pane.
>3) pass back to leo any calls that change the Outline pane, e.g. 
> alt-downarrow.

This is largely the flow the leo-edit-pane system aims to provide.
Hopefully that will be the path of least resistance.

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Neovim as an easier way to add in a different editor

2018-02-22 Thread Kent Tenney
+1
This would be fantastic

On Thu, Feb 22, 2018 at 12:50 PM, 'tfer' via leo-editor <
leo-editor@googlegroups.com> wrote:

>  Neovim 0.2+ adds a Qt based editor in order to hit its promise of "works
> on Windows".  It should be possible to leverage this into an alternative
> editor pane, all that would be needed is to channel each node's body text
> into and out of Neovim, (the in-portion would also require you to set
> filetype to correspond to the "in-force" @language directive).
>
> Why I say this should be easy is that Neovim uses Msgpack rpc to give you
> complete control of Neovim.  Three things are needed:
>1) provide a way to embed the Qt frontend as a new/alternative editor
> pane and connect to an running neovim instance.
>2) switch all the leo code that fills/updates the current editor pane
> into msgpack calls that fill or update the body text of the current node
> to/from the neovim pane.
>3) pass back to leo any calls that change the Outline pane, e.g.
> alt-downarrow.
>
> Two and three could all be handled by a neovim plugin that is written in
> python!  See https://github.com/neovim/python-client
>
> I know that Edward prefers emacs over vim, but just as their are vim
> emulating modes for emacs, there are emacs emulating modes for vim.
>
> (sorry about the partial topic above)
>
> Tom
>
> --
> You received this message because you are subscribed to the Google Groups
> "leo-editor" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to leo-editor+unsubscr...@googlegroups.com.
> To post to this group, send email to leo-editor@googlegroups.com.
> Visit this group at https://groups.google.com/group/leo-editor.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Neovim as an easier way to add in a different editor

2018-02-22 Thread 'tfer' via leo-editor
 Neovim 0.2+ adds a Qt based editor in order to hit its promise of "works 
on Windows".  It should be possible to leverage this into an alternative 
editor pane, all that would be needed is to channel each node's body text 
into and out of Neovim, (the in-portion would also require you to set 
filetype to correspond to the "in-force" @language directive).

Why I say this should be easy is that Neovim uses Msgpack rpc to give you 
complete control of Neovim.  Three things are needed:
   1) provide a way to embed the Qt frontend as a new/alternative editor 
pane and connect to an running neovim instance.
   2) switch all the leo code that fills/updates the current editor pane 
into msgpack calls that fill or update the body text of the current node 
to/from the neovim pane.
   3) pass back to leo any calls that change the Outline pane, e.g. 
alt-downarrow.

Two and three could all be handled by a neovim plugin that is written in 
python!  See https://github.com/neovim/python-client

I know that Edward prefers emacs over vim, but just as their are vim 
emulating modes for emacs, there are emacs emulating modes for vim.

(sorry about the partial topic above)

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Neovim as an easier way to add in a different editor

2018-02-22 Thread 'tfer' via leo-editor
Neovim 0.2+ adds a Qt based 

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.