Leo Integ for Neovim...

249 views
Skip to first unread message

Mark Trebian

unread,
Jul 4, 2024, 5:55:57 AM7/4/24
to leo-editor
Is anyone working on integrating Leo with Neovim?  I would like to collaborate on that activity.

Thomas Passin

unread,
Jul 4, 2024, 11:18:31 AM7/4/24
to leo-editor
Since Neovim wants to write to a terminal, the most obvious approach would be to use a Qt terminal widget and put it in a pane where the body editor would usually be.  Or next to the standard body editor.  The VR/VR3 plugins show how that can be done.  I found a terminal widget for Qt: QLightTerminal ( https://github.com/ChargeIn/QLightTerminal).  I don't know if it has been wrapped for PyQt6. I'm not sure if it's Linux only or not.

Another project that might be useful is QTermWidget (https://github.com/lxqt/qtermwidget), which is Linux only.

Another approach would be to try to interface LeoJS, running VS Code.  There are a number of Neovim projects for VSC already, and maybe one of them could be hooked up to LeoJS.

Félix

unread,
Jul 14, 2024, 5:59:31 PM7/14/24
to leo-editor
Hi mtre, 

Thanks for asking this question!


> Is anyone working on integrating Leo with Neovim?  I would like to collaborate on that activity.

Sorry, I'm not... I don't know much about neovim, (I dont have any experience with vim either) 

But I thought I'd chime in and mention that I'd love to see leoserver.py used for something else than a Leo Integration into VSCode! (leoserver.py is completely client agnostic)

Alternatively, LeoJS's core could be used almost as-is to integrate Leo's typescript implementation into another GUI (like Neovim).

Best of luck! :)

Félix

Edward K. Ream

unread,
Jul 14, 2024, 7:00:34 PM7/14/24
to leo-e...@googlegroups.com
On Sun, Jul 14, 2024 at 4:59 PM Félix <felix...@gmail.com> wrote:
> Is anyone working on integrating Leo with Neovim?  I would like to collaborate on that activity.

Sorry, I'm not... I don't know much about neovim, (I dont have any experience with vim either) 

But I thought I'd chime in and mention that I'd love to see leoserver.py used for something else than a Leo Integration into VSCode! (leoserver.py is completely client agnostic)

It won't be me because I don't vim.

Alternatively, LeoJS's core could be used almost as-is to integrate Leo's typescript implementation into another GUI (like Neovim).

Type "vim" in the vscode plugins page and you'll find vscode vim, a plugin with 6.5 million users.

Edward
Reply all
Reply to author
Forward
0 new messages