Live data from Hacker News

Oni: Modern Modal Editing – Powered by Neovim

github.com

1–10 of 115 posts

Re: Oni: Modern Modal Editing – Powered by Neovim

#2
Looks great. Two questions:

1. I wonder though why you/team didn't opt for extending the vim emulation - via a plugin - on VS Code. Did the exposed API limit you from doing so? Edit: Having used the extensions of VSCode, I am wondering if that is the case.

2. Does it support installation of sublime/atom/vscode plugins?

Re: Oni: Modern Modal Editing – Powered by Neovim

#3
post #2

Looks great. Two questions: 1. I wonder though why you/team didn't opt for extending the vim emulation - via a plugin - on VS Code. Did the exposed API limit you from doing so? Edit: Having used the extensions of VSCode, I am wondering if that is the case. 2. Does it support installation of sublime/atom/vscode plugins?

As a developer of the VSCodeVim plugin, Oni is a great inspiration and we are hoping they pave the way for the Neovim API (which is starting to mature). We have started using neovim for a few things, the command line for example. So while we have started getting our feet wet, hopefully something like Oni (or Oni) replaces us...soon :)

Re: Oni: Modern Modal Editing – Powered by Neovim

#4
It says it's powered by React and (presumable) Electron - does it have the same kind of issues that Atom does? Can it open big files, how responsive is it, etc.

How do plugins work? Do neovim plugins work out of the box with Oni, do you have to write a wrapper, or are they completely incompatible? This is really the make or break part of it.

Re: Oni: Modern Modal Editing – Powered by Neovim

#6
post #4

It says it's powered by React and (presumable) Electron - does it have the same kind of issues that Atom does? Can it open big files, how responsive is it, etc. How do plugins work? Do neovim plugins work out of the box with Oni, do you have to write a wrapper, or are they completely incompatible? This is really the make or break part of it.

> Can it open big files

Yes it should be able to do that. Neovim runs separately from frontends like the one in the OP.

https://github.com/neovim/neovim/wiki/Plugin-UI-architecture

Re: Oni: Modern Modal Editing – Powered by Neovim

#7
post #5

not really impressed, quite far behind from geany and vscode, vim is handy enough too, so what's the selling point that I have missed?

You are comparing an alpha/beta with a full product. The selling point is the future where Vim becomes a native integration in your IDE (or actually the other way around) instead of a plugin which is never completely supporting all Vim options. Or at least that’s my take on it.

Re: Oni: Modern Modal Editing – Powered by Neovim

#8
The project README.md doesn't do justice to the improvements that Oni has been pumping out.

Some new stuff in the unreleased/development version (hidden behind feature-flags):

* Keyboard-driven navigation of embedded web browser: https://twitter.com/oni_vim/status/977280220234268673

* Live reload with embedded browser: https://twitter.com/oni_vim/status/976502172891299840

However personally I just love the scrollbar: it shows viewport-relative position _inside_ the file-relative scrollbar. (maybe this idea was borrowed from some other IDE, but I haven't seen it before.)

P.S.: Yes, it's electron, but if you're not using terminal Vim/Nvim then you already have given up "minimalism" in favor of ... whatever advantage you ascribe to gVim.

Re: Oni: Modern Modal Editing – Powered by Neovim

#9
post #4

It says it's powered by React and (presumable) Electron - does it have the same kind of issues that Atom does? Can it open big files, how responsive is it, etc. How do plugins work? Do neovim plugins work out of the box with Oni, do you have to write a wrapper, or are they completely incompatible? This is really the make or break part of it.

> Can it open big files Yes it should be able to do that. Neovim runs separately from frontends like the one in the OP. https://github.com/neovim/neovim/wiki/Plugin-UI-architecture

[deleted]

Re: Oni: Modern Modal Editing – Powered by Neovim

#10
post #8

The project README.md doesn't do justice to the improvements that Oni has been pumping out. Some new stuff in the unreleased/development version (hidden behind feature-flags): * Keyboard-driven navigation of embedded web browser: https://twitter.com/oni_vim/status/977280220234268673 * Live reload with embedded browser: https://twitter.com/oni_vim/status/976502172891299840 However personally I just love the scrollbar:…

The kinds of things in your comment are the kind of things that make me consider actually installing Oni rather than just going "oh neat, people are making Neovim frontends" like I did when I first saw this post.

The only thing that makes me hesitate is because I run FreeBSD on some of my computers and FreeBSD support wasn't quite there yet for Electron apps last I checked. It may have changed in the meantime.

If I were to begin using an Electron app, I need to be sure that I will be able to use it on my FreeBSD computers also. This is especially important for editors and IDEs given that writing software is rather central among the things that I do. Currently I use Neovim for a lot of things and I use PyCharm for bigger Python projects.

I am wondering though, would it be feasible for one person (me) to rewrite Oni so that one can use it from within their web browser instead of with Electron?

Post reply on HN