Skip to content

inferst/nvim-chaos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chaos Neovim

Neovim plugin which makes coding difficult if you're a Twitch streamer.

Features

Showing message from chatter inside the editor

Changing current colorscheme

Enabling Vim Motions Hell mode which inverts vim motions bindings

Installation

It's written in Rust (don't ask why) which is required for installation

Tested only on Linux (Ubuntu)

lazy.nvim

{ 'inferst/nvim-chaos', build = './install.sh' }

packer.nvim

use { 'inferst/nvim-chaos', run = './install.sh' }

vim-plug

Plug 'inferst/nvim-chaos', { 'do': './install.sh' }

Configuration

-- You need to setup plugin and set your twitch channel.
-- Other parameters are optional.
-- Duration for Colorscheme command is 5 min, form vim motions hell is 1 min.

local chaos = require 'nvim_chaos'
chaos.setup {
    channel = 'your_twitch_channel', -- set your twitch channel here
    commands = {
      message = '!msg', -- name of message command
      colorscheme = {
        -- First argument is colorscheme name.
        -- Second argument is background (dark, light).
        name = '!colorscheme',
        duration = 60 * 5,
      },
      hell = {
        name = '!vimhell',
        duration = 60,
      }
    },
}

About

Chaos Neovim plugin for Twitch streamers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published