Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/norcalli/typeracer.nvim


https://github.com/norcalli/typeracer.nvim

Last synced: 11 days ago
JSON representation

Lists

README

        

![demo](https://raw.githubusercontent.com/norcalli/github-assets/master/typeracer-demo.gif)

![demo.webm](https://raw.githubusercontent.com/norcalli/github-assets/master/typeracer-demo.webm)

# Installation

`Plug norcalli/typeracer.nvim`

# Instructions

`lua require'typeracer'.create()` to create a new game. By default it will try the server hosted on kiani.io

This will create a new window with a 5 letter code you can use to join a game.

`lua require'typeracer'.join(code)` to join a game, e.g. `lua require'typeracer.join "ABCDE"`

`lua require'typeracer'.join_random()` to join a random game.

If you are the one who created the game, use `lua require 'typeracer'.start()` to start the countdown.

*NOTE: I only tested on master so far. It _might_ work on 0.4.2...*

# Credit

@BK1603 in the gif playing with me :)
@kd\_\_\_\_\_\_t for helping me test during the stream.