hydra-rce/README.md

17 lines
424 B
Markdown

# hydra-rce
Send code to Hydra from Neovim
## Usage
* Add contents of `keymap.lua` to your Neovim config
* Install dependencies
* Server: `aiohttp`, `websockets`
* Hydra: simply run `npm install`
* Run server (`scripts/server.py`) and Hydra (`npm run dev`)
* Try running the following snippet by selecting it in visual mode and pressing Alt+Enter:
```javascript
solid([1, 0, 0], [0, 1, 0], [0, 0, 1]).out();
```