-
Notifications
You must be signed in to change notification settings - Fork 298
Installation Guide
NOTE: Windows & macOS releases come with a bundled neovim release, so you do not need a neovim install on those platforms.
- Download the Oni installer (x64) for Windows
- Once it is downloaded, run the installer. This will only take a minute.
- By default, Oni is installed under
C:\Program Files\Oni
There are also other formats available:
You may want to add Oni to your
%PATH%, so that from the console, you can open Oni viaoni
The default shell for windows is the command prompt. If you have a Linux sub-system installed and want to use bash instead add set shell="bash" to your init.vim.
Alternatively, Oni can be installed via Scoop:
scoop bucket add extras
scoop install oniIn this case, a shim will be added by Scoop that makes the oni command available from the console without having to update the %PATH% variable.
- Download Oni for Mac
- Double-click on the archive to expand
- Drag
Oni.appto theApplicationsfolder
Alternatively, Oni can be installed via Homebrew:
brew update
brew cask install oniTo enable key repeat when pressing & holding a key in Oni, write the following in your terminal:
defaults write com.extropy.oni ApplePressAndHoldEnabled -bool falseYou can invoke
onifrom your terminal after adding it to your PATH, by invoking the Command Menu (CMD-Shift-P) > Add to Path
If you do not have Neovim, follow the instructions to Install Neovim and ensure the 'nvim' binary is available. Version
0.2.1or higher is required..
Information on setting the optional
ONI_NEOVIM_PATHenvironment variable can be found here.
- Download the .deb package (64-bit)
- Install the package with
sudo dpkg -i <file>.deb - If dpkg complains (e.g.,
dpkg: dependency problems...), these will likely be fixed bysudo apt install -f -
libcanberra-gtk-modulewarnings are addressed bysudo apt install libcanberra-gtk-module
A tar.gz is also available.
If you do not have Neovim, follow the instructions to Install Neovim and ensure the 'nvim' binary is available. Version
0.2.1or higher is required..
Information on setting the optional
ONI_NEOVIM_PATHenvironment variable can be found here.
- Download the .rpm package
- Install the package with
sudo dnf install <file>.rpm
A tar.gz is also available.
- Available via the AUR
- Install the package with
yaourt -S oni
A tar.gz is also available.