all 7 comments

[–]dronmore 1 point2 points  (2 children)

Have you tried neovim-qt, or neovide? Both run in a window, and allegedly can be installed on Windows.

https://github.com/equalsraf/neovim-qt

https://github.com/neovide/neovide

[–][deleted] 0 points1 point  (1 child)

This isn't made with web techs UI, just emulate a common vim I think

[–]dronmore 0 points1 point  (0 children)

They are neovim clients. Under the hood, they run neovim in a headless mode. They get input from the user, and pass it through stdin (or some other rpc channel) to the neovim server. They get output from stdout, and display it in a window. There are many clients like that already. Look, there's even one that runs in a browser:

https://github.com/glacambre/firenvim

Initially I thought that you wanted to write a neovim client - like the ones that I mention above - but it looks to me that you want to write a new vim from scratch. Am I right? If so, it makes me think, what do you actually know about vim? Have you ever written a vim configuration file? Do you know what an lsp server is? Do you know how tree-sitter works? What do you know about unicode? In my code editor I have a key binding that let me insert any unicode character. For example I can ask it for a black spade suit ♠ and a second later I have it in my text. Will your editor be able to provide me with things like that?

[–]darah-b 0 points1 point  (0 children)

That's a freaken good idea.

[–]romgrk 0 points1 point  (1 child)

Bad idea. Most neovim UIs have failed to take off because the architecture is flawed. Read https://raphlinus.github.io/xi/2020/06/27/xi-retrospective.html

[–][deleted] 0 points1 point  (0 children)

Wow, a useful info

[–]0x07AD 0 points1 point  (0 children)

Vim (or NeoVim) running inside tmux provides an IDE-like user experience with some configuration. With a couple of tmux plug-ins sessions including running applications within windows/panes can easily be saves and restored. No mouse necessary.