Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 732 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 732 Bytes

Neovim.js

A Neovim client build on top of Node.js.

Warning: This project is currently incomplete and under heavy construction. Please use it at your own risk.

Installation

Install Neovim.js

$ npm install git://github.com/ngroup/neovim.js.git

Usage

Start up Neovim with $NEOVIM_LISTEN_ADDRESS specified.

$ NEOVIM_LISTEN_ADDRESS=/tmp/neovim nvim

Require neovim and instantiate a client by neovim.connect(path):

var neovim = require('neovim');
var client = neovim.connect('/tmp/neovim');

Now you can try to manipulate your Neovim:

client.command(':split');
client.command(':vsplit');