Skip to content
/ oni2 Public
forked from onivim/oni2

Native, lightweight modal code editor

Notifications You must be signed in to change notification settings

aubinlrx/oni2

Repository files navigation

Build Status

Oni 2

Lightweight, Modal Code Editor

⚠️ Pre-alpha - not yet usable! ⚠️

Introduction

Oni 2 is a reimagination of the Oni editor. Oni 2 aims to bring the speed of Sublime, the language integration of VSCode, and the modal editing experience of (neo)vim together, in a single package.

Oni 2 is built in reason using the revery framework.

Goals

  • Modern UX - an experience on par with modern code editors like VSCode and Atom
  • VSCode Plugin Support - use all of the features of VSCode plugins, including language servers and debuggers
  • Cross-Platform - works on Windows, OSX, and Linux
  • Batteries Included - works out of the box
  • Performance - no compromises: native performance, minimal input latency
  • Ease Learning Curve - Oni 2 should be comfortable for non-vimmers, too!

The goal of this project is to build an editor that doesn't exist today - the speed of a native code editor like Sublime, the power of modal editing, and the rich tooling that comes with a lighweight editor like VSCode.

Build

Prerequisites

  • Install Git
  • Install Esy (0.5.6 is required)
macOS
  • brew install cmake
  • brew install libpng ragel
Linux

Install the following packages with your package manager of choice:

  • cmake
  • ragel

Build

  • git clone https://github.com/onivim/oni2
  • esy install
  • esy bootstrap
  • esy build

Tests

  • esy x OniUnitTestRunner

Run

  • esy x Oni2

Documentation

Coming soon

Contributing

We'd ❤️ help building Oni 2 - more info soon.

License

Oni 2 is licensed under the CC-BY-NC-4.0 license.

This means that Oni 2 is free to use for non-commercial or educational uses. You are free to distribute and modify Oni 2 for personal use, as long as this README and License are included unmodified.

Several dependencies have their own set of license terms here: ThirdPartyLicenses.txt

Copyright 2019 Outrun Labs, LLC.

About

Native, lightweight modal code editor

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 65.4%
  • Reason 28.6%
  • JavaScript 5.5%
  • HTML 0.2%
  • OCaml 0.1%
  • Shell 0.1%
  • Other 0.1%