HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
onivim
oni
TypeScript2016–2021
onivim / oni · Archived

oni

Oni: Modern Modal Editing - powered by Neovim

21Distinct people
34Mentions
0Explicit recommenders
11.2KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Oni: Modern Modal Editing - powered by Neovim

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year34 dated mentions

Observed mentions: 2016-12-05 23:37:12 UTC to 2021-01-13 10:11:01 UTC.

051015202016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments20162017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 5 mentions; 2 submissions, 3 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 22 mentions; 4 submissions, 18 comments20182019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2021

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC110
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC523
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC22418
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC404
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC101
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC101

What Hacker News says

34 sources
While learning Vim, I went through the `vimtutor` many times until I felt really comfortable. After that you can try more advanced stuff (I applied the same pattern with the oni[0] built-in tutorial). Last but not least there are Youtube channels: theprimeagen[1] and Greg Hurell[2] come to my mind. I particularly recommend theprimeagen (he is a Netflix engineer) because he has videos about real-life workflow. And speaking about real life, I was amazed by this video[3] the first time I saw it, it's a very good introduction to macros. 0: https://github.com/onivim/oni 1: https://www.youtube.com/channel/UC8ENHE5xdFSwx71u3fDH5Xw 2: https://www.youtube.com/channel/UCXPHFM88IlFn68OmLwtPmZA/vid... 3: https://youtube.com/watch?v=hraHAZ1-RaM
In Ask HN: What are your favourite productivity tools?
> vim has like the worst default setting than any other app in existence Laughing in urxvt > Unless you have 5+ years of muscle memory (learnt with pain), all the shortcuts are too confusing. Don't know which level of mastery of the default shortcuts you're talking about but speaking from my experience, going through vimtutor and oni[0] integrated tutorial everyday made me productive in less than one week, without modifying any .vimrc, granted I used neovim, but still... 0: https://github.com/onivim/oni
In Ask HN: What are your favorite developer-efficiency tips?
In terms of performance, the way we build applications today is such a low bar that IMO it opens the door for functional programming. Even if it is not as fast as C or raw assembly - if it is significantly faster than Electron, but preserves the developer ergonomics... it can be a win for the end user! I created an Electron (TypeScript/React) desktop application called Onivim [1] and then re-built it for a v2 in OCaml / ReasonML [2] - compiled to native machine code. (And we built a UI/Application framework called Revery [3] to support it) There were very significant, tangible improvements in performance: - Order of magnitude improvement in startup time (time to interactive, Windows 10, warm start: from 5s -> 0.5s) - Less memory usage (from ~180MB to <50MB). And 50MB still seems too high! The tooling for building cross-platform apps on th
Read the rest
is tech is still raw & a work-in-progress - but I believe there is much untapped potential in taking the 'React' idea and applying it to a functional, compile-to-native language like ReasonML/OCaml for building UI applications. Performance is one obvious dimension; but we also get benefits in terms of correctness - for example, compile-time validation of the 'rules of hooks'. - [1] Onivim v1 (Electron) https://github.com/onivim/oni - [2] Onivim v2 (ReasonML/OCaml) https://v2.onivim.io - [3] Revery: https://www.outrunlabs.com/revery/ - [4] Flambda: https://caml.inria.fr/pub/docs/manual-ocaml/flambda.html
In Why Isn't Functional Programming the Norm? [video]
Hey HN! I'm Bryan, creator of Revery. I was really surprised when I saw Revery on the front-page of HN, so cool! I apologize that there isn't more info - we're still working on website, docs, architecture diagrams, etc. But I'll be around for a bit to answer questions. It's still pretty new and actively developed - we're building it in parallel with the next version of our Oni [1] text editor. Some of the rationale for this decision can be found in our early architecture document for the next version of Oni [2]. ReasonML (which is a syntax over OCaml) is now a great environment to build native apps. Most of the attention has been focused on the compile-to-JS scenarios, but the tooling is at the point where you can just as easily compile-to-native on the major platforms, thanks to tools like Esy [3] - workflow isn't much different from NPM
Read the rest
+JS development! Jordan and team, as well as OCamlLabs on the OCaml side, have been smoothing out this native workflow (it's not easy to build a package manager for native code!), and I think/hope you'll see more ReasonML projects like Revery start to pop-up. I'm bullish on this because React-as-a-paradigm (pure-functional UI) is a natural fit - it's like a language designed for React. Not only that, there is some incredible work that has been invested in the OCaml ecosystem, too: - The compiler is FAST - The GC is FAST (also deterministic and supports sliced collections, important for perf) - Very powerful type system (ADTs, GADTs) - we even express the React 'rules of hooks' in types, such that they're enforced in the compiler. The output code generated by the OCaml compiler (ocamlopt) is fast too - in some cases on par with C++ [4] Everything seemed to line up in terms of tech to make it a natural fit for us to give it a try :) And Revery is meant for very custom UIs - there is a counterpart project called Brisk [5] that uses platform-native widgets. We share common infrastructure and in fact uses Brisk's reconciler to provide the 'React' layer and component model. [1] https://github.com/onivim/oni [2] https://gist.github.com/bryphe/ca3260914818a1293864e9fa6422a... [3] https://esy.sh/ [4] http://www.ffconsultancy.com/languages/ray_tracer/comparison... [5] https://github.com/briskml/brisk
In Revery – Native, high-performance, cross-platform desktop apps
Just wanted to say thank you for all your work on this, Andrey! I've been using for developing native projects with ReasonML / OCaml (on Windows!) - a framework called Revery [1] (a fast, native alternative to Electron) and a re-write for our Oni [2] text editor using this platform. It really wouldn't have been possible to pursue these paths without esy. We're also starting to see other cross-platform Reason-native projects pop-up that I'm very excited about, like Brisk (native OSX UI w/ Reason/OCaml) [3] and Fastpack (native JS bundler - a faster webpack) [4]. Some of my favorite features are the following: - Esy gives the convenience of NPM / Yarn, but for native development. Importantly, it works great cross-platform - OSX/Linux/Windows. IMO The ease of cross-platform development is one of the JS+Node+NPM workflows greatest strengths,
Read the rest
and esy provides this for native development. - Esy gets faster as you use it. It has smart caching for compiled artifacts - taking into account the full set of transitive dependencies. - The linking / resolution workflow is incredibly useful for native development. For Revery, we'd often need to try fixes across our GLFW/Fontkit stack, and the link feature made this simple. I'm biased as I've contributed a little bit to the esy, but I've found the approach to development really interesting architecturally - esy is like a 'React' for dependency management - treating the dependency tree as a "pure function" of (dependency tree -> lock -> build environment) with "memoization" to re-use compiled artifacts. These are tough problems to solve in native... and I'm really impressed with your work Andrey! Thank you! - [1] https://github.com/revery-ui/revery - [2] https://github.com/onivim/oni - [3] https://github.com/briskml/brisk - [4] https://github.com/fastpack/fastpack
In Show HN: Esy – fast and simple package management for native ReasonML/OCaml
I would really love to ditch more of my nvim setup for vscode, but this bug [1] from 3 months ago absolutely wrecks my productivity. I rely on splits as the primary means to navigate the codebase and having a single cursor position per file is maddening! The vim bindings aren't perfect and are sometimes slow (you can see a macro insert things character by character) but about on-par with IdeaVim for the IntelliJ side feature wise. Maybe oni [2] will catch up before vscode fixes their issues but I eagerly await a decent language server modal editing setup. [1] https://github.com/VSCodeVim/Vim/issues/2688 [2] https://github.com/onivim/oni
In Python in Visual Studio Code
ActualVim (a plugin for Sublime Text 3) implemented support for the Nvim 0.3 "buffer updates" feature in less than 24 hours: https://github.com/lunixbochs/ActualVim/commit/414e8d4c3feb4... Oni[1] is also expected to use the feature soon. Other features worth noting are - <Cmd> key https://github.com/neovim/neovim/pull/4419 - stdpath() function https://github.com/neovim/neovim/pull/6272 https://github.com/neovim/neovim/pull/7679 and https://github.com/neovim/neovim/pull/8226 are small but nice quality-of-life improvements. There's also many new API features and defaults tweaks listed in the release notes. Oh, and a built-in AST-producing VimL expression parser: https://github.com/neovim/neovim/pull/7234 That's a big one. [1] https://github.com/onivim/oni
In Neovim 0.3 released
> I hate these posts, because Hacker News is incapable of talking about an Electron based project productively. Oni maintainer here! I agree - I get stressed out sometimes when this gets posted to HN for that reason ;) I'll piggyback here because this is near the top, but I'll give a couple quick reasons why Electron was chosen for this project: - Development speed As mentioned in another comment, the React ecosystem has some excellent development tools around hot-reloading / live-reloading. I never found this sort of 'live-reload' workflow in any of the C/C++ toolchains I've used. (Would be interested if that has changed!) For a very small team, this is an important consideration! It's the difference between Oni existing as an Electron app vs. not existing at all. - Developers Oni is an open source project, and I open-sourced it because
Read the rest
I wanted help building it (and I've been fortunate to work with some amazing contributors [1]). When you look at the last StackOverflow Developer Survey [2], web tech is overwhelmingly at the top - if I want help, I should pick the tech stack that has the broadest appeal. Every editor is an exercise in trade-offs, and of course Electron brings trade-offs of its own. Oni is an experiment in a different (not necessarily better, because that's subjective and relative to each person's workflow) set of trade-offs than other editors - an attempt to bring together the "modern" functionality of editors like Code/Atom with Vim. It resonates with some people, but it's not going to be for everyone, and that's OK. Even if you don't use Oni or agree with the tech stack, these sorts of experiments are important, because if new ideas or workflows work well... they can find their way into your editor of choice, too. One other note - I focused a lot on Electron, but the project wouldn't be here without neovim, either! They've done excellent work, and there is quite a variety of front-ends - so even if Oni isn't your thing, I'd encourage to check out that project as well as some of the front-ends for it [3]. [1] - https://github.com/onivim/oni/graphs/contributors [2] - https://insights.stackoverflow.com/survey/2018/#technology [3] - https://github.com/neovim/neovim/wiki/Related-projects
In Oni – Modern Modal Editing

Showing the 15 most recent of 34 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.