Live data from Hacker News

Onivim 2 is a retro-futuristic modal editor

v2.onivim.io

11–20 of 136 posts

Re: Onivim 2 is a retro-futuristic modal editor

#11
post #6

How fast does this feel compared to VS Code? I went into the whole onivim -> revery -> reason rabbit hole and the native code compilation is compelling, but Flutter does the same thing and is pretty slow.

It feels faster than VSCode, but I would wait until at least 0.6 before trying it out more.

Re: Onivim 2 is a retro-futuristic modal editor

#12
post #10
post #4

Isn’t this VS Code with the Vim extension?

No, likely out of diffidence onivim has a very similar design to VSC. It doesn't appear to share any code with VS Code though.

This isn't technically true, the extension host we use is directly the one from VSCode, such that we can support their extensions (well...a subset as we fill in the gaps in for the Oni2 ExtHost communication).

But the actual core editor is all seperate, written in ReasonML (or OCaml if you know that instead), with a bunch of C libs in the background we've wrapped (Skia/Harfbuzz/We wrap real vim etc).

So the core editing experience has no code sharing, but the extension side of things does!

Re: Onivim 2 is a retro-futuristic modal editor

#13
post #2

Buying software without a trial makes me disinterested. I still want to learn using vim every day, but won't commit to this text editor/vsx-powered IDE, unless I find out that I have the guts to use it every day. Also, there is VIM mode for VS Code, I guess.

Oni2 is available for use for free for non-commercial usage, it just needs building from source at the moment. The steps are in the user manual if anyone is interested: https://onivim.github.io/docs/for-developers/building

Partially that is a thank you to those who have supported our development, and partially its to help put up a small barrier to entry, just so we don't get too flooded with issues and feature requests!

A public release is coming soon-ish, and can be used for non-commercial use.

Re: Onivim 2 is a retro-futuristic modal editor

#14
«retro-futuristic modal editor» not helpful for marketing, what is the meaning here? maybe some correlation with «outrun labs» name and outrun look, but not clear. it also has advertisement for «native code» but this not always means fast. text editor problem is more latency than «speed», any latency benchmark made yet?

Re: Onivim 2 is a retro-futuristic modal editor

#15
post #8
post #2

Buying software without a trial makes me disinterested. I still want to learn using vim every day, but won't commit to this text editor/vsx-powered IDE, unless I find out that I have the guts to use it every day. Also, there is VIM mode for VS Code, I guess.

> Also, there is VIM mode for VS Code, I guess. I feel like this is something said by people who are more invested in VS Code than vim. The main vim plugin for VS Code is straight trash.* It's slow, buggy, and unintuitive; while lacking the extensibility that vim has. At least IDEAVim, which has the same limitations of being built in another IDE, replicates enough of the common plugins to be pleasant. It's also worth…

> but implementing a vim backend is a monumental task if you intend to be compatible with existing vim plugins

We skipped that and haven't implemented any vim backend at all!

We use/made libvim[1], which is just the vim source, that we've essentially turned into a library. So its the vim code base with terminal UI stuff stripped out, and an interface added for us to hook into it. The README of that repo has some good insight into that (including why we didn't use neovim here, as much as the team all loves nvim).

We don't support vimscript stuff at the moment, but its in progress as all the vim source code is there to load/run it as normal, its just about integrating is properly into Oni2 (making sure keybinds are working, commands are properly loaded, packing stuff up nicely for distrib etc).

(There is some other motivation bits in this doc[2]. Its outdated since we haven't edited it since before the project started, but it outlines the motivations we went in with etc).

[1]: https://github.com/onivim/libvim [2]: https://github.com/onivim/oni2/blob/master/docs/MOTIVATION.m...

Post reply on HN